summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-env-variables.7.rst
blob: 197e56eb1f3b19aeef68a2767d0611ecf3737d7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
.. cmake-manual-description: CMake Environment Variables Reference

cmake-env-variables(7)
**********************

.. only:: html

   .. contents::

This page lists environment variables that have special
meaning to CMake.

For general information on environment variables, see the
:ref:`Environment Variables <CMake Language Environment Variables>`
section in the cmake-language manual.

Environment Variables that Change Behavior
==========================================

.. toctree::
   :maxdepth: 1

   /envvar/CMAKE_APPBUNDLE_PATH
   /envvar/CMAKE_FRAMEWORK_PATH
   /envvar/CMAKE_INCLUDE_PATH
   /envvar/CMAKE_LIBRARY_PATH
   /envvar/CMAKE_MAXIMUM_RECURSION_DEPTH
   /envvar/CMAKE_PREFIX_PATH
   /envvar/CMAKE_PROGRAM_PATH
   /envvar/SSL_CERT_DIR
   /envvar/SSL_CERT_FILE

Environment Variables that Control the Build
============================================

.. toctree::
   :maxdepth: 1

   /envvar/ADSP_ROOT
   /envvar/CMAKE_APPLE_SILICON_PROCESSOR
   /envvar/CMAKE_BUILD_PARALLEL_LEVEL
   /envvar/CMAKE_BUILD_TYPE
   /envvar/CMAKE_COLOR_DIAGNOSTICS
   /envvar/CMAKE_CONFIGURATION_TYPES
   /envvar/CMAKE_CONFIG_TYPE
   /envvar/CMAKE_EXPORT_COMPILE_COMMANDS
   /envvar/CMAKE_GENERATOR
   /envvar/CMAKE_GENERATOR_INSTANCE
   /envvar/CMAKE_GENERATOR_PLATFORM
   /envvar/CMAKE_GENERATOR_TOOLSET
   /envvar/CMAKE_INSTALL_MODE
   /envvar/CMAKE_LANG_COMPILER_LAUNCHER
   /envvar/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES_EXCLUDE
   /envvar/CMAKE_LANG_LINKER_LAUNCHER
   /envvar/CMAKE_MSVCIDE_RUN_PATH
   /envvar/CMAKE_NO_VERBOSE
   /envvar/CMAKE_OSX_ARCHITECTURES
   /envvar/CMAKE_TOOLCHAIN_FILE
   /envvar/DESTDIR
   /envvar/LDFLAGS
   /envvar/MACOSX_DEPLOYMENT_TARGET
   /envvar/PackageName_ROOT
   /envvar/VERBOSE

Environment Variables for Languages
===================================

.. toctree::
   :maxdepth: 1

   /envvar/ASM_DIALECT
   /envvar/ASM_DIALECTFLAGS
   /envvar/CC
   /envvar/CFLAGS
   /envvar/CSFLAGS
   /envvar/CUDAARCHS
   /envvar/CUDACXX
   /envvar/CUDAFLAGS
   /envvar/CUDAHOSTCXX
   /envvar/CXX
   /envvar/CXXFLAGS
   /envvar/FC
   /envvar/FFLAGS
   /envvar/HIPCXX
   /envvar/HIPFLAGS
   /envvar/ISPC
   /envvar/ISPCFLAGS
   /envvar/OBJC
   /envvar/OBJCXX
   /envvar/RC
   /envvar/RCFLAGS
   /envvar/SWIFTC

Environment Variables for CTest
===============================

.. toctree::
   :maxdepth: 1

   /envvar/CMAKE_CONFIG_TYPE
   /envvar/CTEST_INTERACTIVE_DEBUG_MODE
   /envvar/CTEST_NO_TESTS_ACTION
   /envvar/CTEST_OUTPUT_ON_FAILURE
   /envvar/CTEST_PARALLEL_LEVEL
   /envvar/CTEST_PROGRESS_OUTPUT
   /envvar/CTEST_USE_LAUNCHERS_DEFAULT
   /envvar/DASHBOARD_TEST_FROM_CTEST

Environment Variables for the CMake curses interface
====================================================

.. toctree::
   :maxdepth: 1

   /envvar/CCMAKE_COLORS