cmake-variables.7.rst 17 KB
Newer Older
1 2
.. cmake-manual-description: CMake Variables Reference

3 4 5
cmake-variables(7)
******************

6
.. only:: html
7 8 9 10 11 12 13

   .. contents::

Variables that Provide Information
==================================

.. toctree::
14 15
   :maxdepth: 1

16 17 18 19 20 21 22 23 24 25 26 27
   /variable/CMAKE_ARGC
   /variable/CMAKE_ARGV0
   /variable/CMAKE_AR
   /variable/CMAKE_BINARY_DIR
   /variable/CMAKE_BUILD_TOOL
   /variable/CMAKE_CACHEFILE_DIR
   /variable/CMAKE_CACHE_MAJOR_VERSION
   /variable/CMAKE_CACHE_MINOR_VERSION
   /variable/CMAKE_CACHE_PATCH_VERSION
   /variable/CMAKE_CFG_INTDIR
   /variable/CMAKE_COMMAND
   /variable/CMAKE_CROSSCOMPILING
28
   /variable/CMAKE_CROSSCOMPILING_EMULATOR
29 30 31 32 33 34 35 36 37 38 39
   /variable/CMAKE_CTEST_COMMAND
   /variable/CMAKE_CURRENT_BINARY_DIR
   /variable/CMAKE_CURRENT_LIST_DIR
   /variable/CMAKE_CURRENT_LIST_FILE
   /variable/CMAKE_CURRENT_LIST_LINE
   /variable/CMAKE_CURRENT_SOURCE_DIR
   /variable/CMAKE_DL_LIBS
   /variable/CMAKE_EDIT_COMMAND
   /variable/CMAKE_EXECUTABLE_SUFFIX
   /variable/CMAKE_EXTRA_GENERATOR
   /variable/CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES
40
   /variable/CMAKE_FIND_PACKAGE_NAME
41 42
   /variable/CMAKE_FIND_PACKAGE_SORT_DIRECTION
   /variable/CMAKE_FIND_PACKAGE_SORT_ORDER
43
   /variable/CMAKE_GENERATOR
44
   /variable/CMAKE_GENERATOR_PLATFORM
45 46 47 48
   /variable/CMAKE_GENERATOR_TOOLSET
   /variable/CMAKE_HOME_DIRECTORY
   /variable/CMAKE_IMPORT_LIBRARY_PREFIX
   /variable/CMAKE_IMPORT_LIBRARY_SUFFIX
49 50
   /variable/CMAKE_JOB_POOL_COMPILE
   /variable/CMAKE_JOB_POOL_LINK
51
   /variable/CMAKE_LINK_LIBRARY_SUFFIX
52 53
   /variable/CMAKE_LINK_SEARCH_END_STATIC
   /variable/CMAKE_LINK_SEARCH_START_STATIC
54 55
   /variable/CMAKE_MAJOR_VERSION
   /variable/CMAKE_MAKE_PROGRAM
56
   /variable/CMAKE_MATCH_COUNT
57 58 59 60 61 62 63 64 65 66 67 68 69
   /variable/CMAKE_MINIMUM_REQUIRED_VERSION
   /variable/CMAKE_MINOR_VERSION
   /variable/CMAKE_PARENT_LIST_FILE
   /variable/CMAKE_PATCH_VERSION
   /variable/CMAKE_PROJECT_NAME
   /variable/CMAKE_RANLIB
   /variable/CMAKE_ROOT
   /variable/CMAKE_SCRIPT_MODE_FILE
   /variable/CMAKE_SHARED_LIBRARY_PREFIX
   /variable/CMAKE_SHARED_LIBRARY_SUFFIX
   /variable/CMAKE_SHARED_MODULE_PREFIX
   /variable/CMAKE_SHARED_MODULE_SUFFIX
   /variable/CMAKE_SIZEOF_VOID_P
70
   /variable/CMAKE_SKIP_INSTALL_RULES
71 72 73 74
   /variable/CMAKE_SKIP_RPATH
   /variable/CMAKE_SOURCE_DIR
   /variable/CMAKE_STATIC_LIBRARY_PREFIX
   /variable/CMAKE_STATIC_LIBRARY_SUFFIX
75
   /variable/CMAKE_TOOLCHAIN_FILE
76 77 78
   /variable/CMAKE_TWEAK_VERSION
   /variable/CMAKE_VERBOSE_MAKEFILE
   /variable/CMAKE_VERSION
79
   /variable/CMAKE_VS_DEVENV_COMMAND
80
   /variable/CMAKE_VS_INTEL_Fortran_PROJECT_VERSION
81
   /variable/CMAKE_VS_MSBUILD_COMMAND
82
   /variable/CMAKE_VS_NsightTegra_VERSION
83
   /variable/CMAKE_VS_PLATFORM_NAME
84
   /variable/CMAKE_VS_PLATFORM_TOOLSET
85
   /variable/CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE
86
   /variable/CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION
87 88 89 90 91
   /variable/CMAKE_XCODE_PLATFORM_TOOLSET
   /variable/PROJECT_BINARY_DIR
   /variable/PROJECT-NAME_BINARY_DIR
   /variable/PROJECT_NAME
   /variable/PROJECT-NAME_SOURCE_DIR
92 93 94 95 96
   /variable/PROJECT-NAME_VERSION
   /variable/PROJECT-NAME_VERSION_MAJOR
   /variable/PROJECT-NAME_VERSION_MINOR
   /variable/PROJECT-NAME_VERSION_PATCH
   /variable/PROJECT-NAME_VERSION_TWEAK
97
   /variable/PROJECT_SOURCE_DIR
98 99 100 101 102
   /variable/PROJECT_VERSION
   /variable/PROJECT_VERSION_MAJOR
   /variable/PROJECT_VERSION_MINOR
   /variable/PROJECT_VERSION_PATCH
   /variable/PROJECT_VERSION_TWEAK
103 104 105 106 107

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

.. toctree::
108 109
   :maxdepth: 1

110 111
   /variable/BUILD_SHARED_LIBS
   /variable/CMAKE_ABSOLUTE_DESTINATION_FILES
112
   /variable/CMAKE_APPBUNDLE_PATH
113 114 115
   /variable/CMAKE_AUTOMOC_RELAXED_MODE
   /variable/CMAKE_BACKWARDS_COMPATIBILITY
   /variable/CMAKE_BUILD_TYPE
116
   /variable/CMAKE_CODELITE_USE_TARGETS
117 118 119
   /variable/CMAKE_COLOR_MAKEFILE
   /variable/CMAKE_CONFIGURATION_TYPES
   /variable/CMAKE_DEBUG_TARGET_PROPERTIES
120
   /variable/CMAKE_DEPENDS_IN_PROJECT_ONLY
121
   /variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName
122 123 124 125
   /variable/CMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES
   /variable/CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT
   /variable/CMAKE_ECLIPSE_MAKE_ARGUMENTS
   /variable/CMAKE_ECLIPSE_VERSION
126 127
   /variable/CMAKE_ERROR_DEPRECATED
   /variable/CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION
128
   /variable/CMAKE_EXPORT_COMPILE_COMMANDS
129
   /variable/CMAKE_EXPORT_NO_PACKAGE_REGISTRY
130
   /variable/CMAKE_SYSROOT
131 132
   /variable/CMAKE_FIND_APPBUNDLE
   /variable/CMAKE_FIND_FRAMEWORK
133 134
   /variable/CMAKE_FIND_LIBRARY_PREFIXES
   /variable/CMAKE_FIND_LIBRARY_SUFFIXES
135
   /variable/CMAKE_FIND_NO_INSTALL_PREFIX
136 137
   /variable/CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
   /variable/CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY
138 139 140 141 142 143
   /variable/CMAKE_FIND_PACKAGE_WARN_NO_MODULE
   /variable/CMAKE_FIND_ROOT_PATH
   /variable/CMAKE_FIND_ROOT_PATH_MODE_INCLUDE
   /variable/CMAKE_FIND_ROOT_PATH_MODE_LIBRARY
   /variable/CMAKE_FIND_ROOT_PATH_MODE_PACKAGE
   /variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM
144
   /variable/CMAKE_FRAMEWORK_PATH
145 146
   /variable/CMAKE_IGNORE_PATH
   /variable/CMAKE_INCLUDE_PATH
147 148
   /variable/CMAKE_INCLUDE_DIRECTORIES_BEFORE
   /variable/CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE
149
   /variable/CMAKE_INSTALL_DEFAULT_COMPONENT_NAME
150
   /variable/CMAKE_INSTALL_MESSAGE
151 152 153 154 155 156
   /variable/CMAKE_INSTALL_PREFIX
   /variable/CMAKE_LIBRARY_PATH
   /variable/CMAKE_MFC_FLAG
   /variable/CMAKE_MODULE_PATH
   /variable/CMAKE_NOT_USING_CONFIG_FLAGS
   /variable/CMAKE_POLICY_DEFAULT_CMPNNNN
157
   /variable/CMAKE_POLICY_WARNING_CMPNNNN
158 159
   /variable/CMAKE_PREFIX_PATH
   /variable/CMAKE_PROGRAM_PATH
160
   /variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE
161
   /variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY
162
   /variable/CMAKE_STAGING_PREFIX
163
   /variable/CMAKE_SYSTEM_APPBUNDLE_PATH
164
   /variable/CMAKE_SYSTEM_FRAMEWORK_PATH
165 166 167 168 169 170 171 172 173 174 175 176 177
   /variable/CMAKE_SYSTEM_IGNORE_PATH
   /variable/CMAKE_SYSTEM_INCLUDE_PATH
   /variable/CMAKE_SYSTEM_LIBRARY_PATH
   /variable/CMAKE_SYSTEM_PREFIX_PATH
   /variable/CMAKE_SYSTEM_PROGRAM_PATH
   /variable/CMAKE_USER_MAKE_RULES_OVERRIDE
   /variable/CMAKE_WARN_DEPRECATED
   /variable/CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION

Variables that Describe the System
==================================

.. toctree::
178 179
   :maxdepth: 1

180
   /variable/ANDROID
181 182 183 184 185
   /variable/APPLE
   /variable/BORLAND
   /variable/CMAKE_CL_64
   /variable/CMAKE_COMPILER_2005
   /variable/CMAKE_HOST_APPLE
186
   /variable/CMAKE_HOST_SOLARIS
187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
   /variable/CMAKE_HOST_SYSTEM_NAME
   /variable/CMAKE_HOST_SYSTEM_PROCESSOR
   /variable/CMAKE_HOST_SYSTEM
   /variable/CMAKE_HOST_SYSTEM_VERSION
   /variable/CMAKE_HOST_UNIX
   /variable/CMAKE_HOST_WIN32
   /variable/CMAKE_LIBRARY_ARCHITECTURE_REGEX
   /variable/CMAKE_LIBRARY_ARCHITECTURE
   /variable/CMAKE_OBJECT_PATH_MAX
   /variable/CMAKE_SYSTEM_NAME
   /variable/CMAKE_SYSTEM_PROCESSOR
   /variable/CMAKE_SYSTEM
   /variable/CMAKE_SYSTEM_VERSION
   /variable/CYGWIN
   /variable/ENV
202
   /variable/GHS-MULTI
203
   /variable/MINGW
204 205 206
   /variable/MSVC10
   /variable/MSVC11
   /variable/MSVC12
207
   /variable/MSVC14
208 209 210 211 212 213 214 215 216 217
   /variable/MSVC60
   /variable/MSVC70
   /variable/MSVC71
   /variable/MSVC80
   /variable/MSVC90
   /variable/MSVC_IDE
   /variable/MSVC
   /variable/MSVC_VERSION
   /variable/UNIX
   /variable/WIN32
218
   /variable/WINCE
219 220
   /variable/WINDOWS_PHONE
   /variable/WINDOWS_STORE
Ruslan Baratov's avatar
Ruslan Baratov committed
221
   /variable/XCODE
222 223 224 225 226 227
   /variable/XCODE_VERSION

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

.. toctree::
228 229
   :maxdepth: 1

230
   /variable/CMAKE_ANDROID_ANT_ADDITIONAL_OPTIONS
231
   /variable/CMAKE_ANDROID_API
232
   /variable/CMAKE_ANDROID_API_MIN
233
   /variable/CMAKE_ANDROID_ARCH
234 235 236
   /variable/CMAKE_ANDROID_ARCH_ABI
   /variable/CMAKE_ANDROID_ARM_MODE
   /variable/CMAKE_ANDROID_ARM_NEON
237
   /variable/CMAKE_ANDROID_ASSETS_DIRECTORIES
238
   /variable/CMAKE_ANDROID_GUI
239 240 241 242 243
   /variable/CMAKE_ANDROID_JAR_DEPENDENCIES
   /variable/CMAKE_ANDROID_JAR_DIRECTORIES
   /variable/CMAKE_ANDROID_JAVA_SOURCE_DIR
   /variable/CMAKE_ANDROID_NATIVE_LIB_DEPENDENCIES
   /variable/CMAKE_ANDROID_NATIVE_LIB_DIRECTORIES
244 245
   /variable/CMAKE_ANDROID_NDK
   /variable/CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION
246 247 248 249 250
   /variable/CMAKE_ANDROID_PROCESS_MAX
   /variable/CMAKE_ANDROID_PROGUARD
   /variable/CMAKE_ANDROID_PROGUARD_CONFIG_PATH
   /variable/CMAKE_ANDROID_SECURE_PROPS_PATH
   /variable/CMAKE_ANDROID_SKIP_ANT_STEP
251
   /variable/CMAKE_ANDROID_STANDALONE_TOOLCHAIN
252
   /variable/CMAKE_ANDROID_STL_TYPE
253
   /variable/CMAKE_ARCHIVE_OUTPUT_DIRECTORY
254
   /variable/CMAKE_ARCHIVE_OUTPUT_DIRECTORY_CONFIG
255 256
   /variable/CMAKE_AUTOMOC_MOC_OPTIONS
   /variable/CMAKE_AUTOMOC
257 258
   /variable/CMAKE_AUTORCC
   /variable/CMAKE_AUTORCC_OPTIONS
259 260
   /variable/CMAKE_AUTOUIC
   /variable/CMAKE_AUTOUIC_OPTIONS
261
   /variable/CMAKE_BUILD_RPATH
262
   /variable/CMAKE_BUILD_WITH_INSTALL_RPATH
263 264
   /variable/CMAKE_COMPILE_PDB_OUTPUT_DIRECTORY
   /variable/CMAKE_COMPILE_PDB_OUTPUT_DIRECTORY_CONFIG
265 266
   /variable/CMAKE_CONFIG_POSTFIX
   /variable/CMAKE_DEBUG_POSTFIX
267
   /variable/CMAKE_ENABLE_EXPORTS
268
   /variable/CMAKE_EXE_LINKER_FLAGS_CONFIG
269
   /variable/CMAKE_EXE_LINKER_FLAGS_CONFIG_INIT
270
   /variable/CMAKE_EXE_LINKER_FLAGS
271
   /variable/CMAKE_EXE_LINKER_FLAGS_INIT
272 273 274 275 276 277 278 279
   /variable/CMAKE_Fortran_FORMAT
   /variable/CMAKE_Fortran_MODULE_DIRECTORY
   /variable/CMAKE_GNUtoMS
   /variable/CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE
   /variable/CMAKE_INCLUDE_CURRENT_DIR
   /variable/CMAKE_INSTALL_NAME_DIR
   /variable/CMAKE_INSTALL_RPATH
   /variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH
280
   /variable/CMAKE_IOS_INSTALL_COMBINED
281
   /variable/CMAKE_LANG_CLANG_TIDY
282
   /variable/CMAKE_LANG_COMPILER_LAUNCHER
283
   /variable/CMAKE_LANG_INCLUDE_WHAT_YOU_USE
284 285
   /variable/CMAKE_LANG_VISIBILITY_PRESET
   /variable/CMAKE_LIBRARY_OUTPUT_DIRECTORY
286
   /variable/CMAKE_LIBRARY_OUTPUT_DIRECTORY_CONFIG
287 288 289 290 291 292
   /variable/CMAKE_LIBRARY_PATH_FLAG
   /variable/CMAKE_LINK_DEF_FILE_FLAG
   /variable/CMAKE_LINK_DEPENDS_NO_SHARED
   /variable/CMAKE_LINK_INTERFACE_LIBRARIES
   /variable/CMAKE_LINK_LIBRARY_FILE_FLAG
   /variable/CMAKE_LINK_LIBRARY_FLAG
293
   /variable/CMAKE_LINK_WHAT_YOU_USE
294
   /variable/CMAKE_MACOSX_BUNDLE
295
   /variable/CMAKE_MACOSX_RPATH
296 297
   /variable/CMAKE_MAP_IMPORTED_CONFIG_CONFIG
   /variable/CMAKE_MODULE_LINKER_FLAGS_CONFIG
298
   /variable/CMAKE_MODULE_LINKER_FLAGS_CONFIG_INIT
299
   /variable/CMAKE_MODULE_LINKER_FLAGS
300
   /variable/CMAKE_MODULE_LINKER_FLAGS_INIT
301
   /variable/CMAKE_NINJA_OUTPUT_PATH_PREFIX
302 303
   /variable/CMAKE_NO_BUILTIN_CHRPATH
   /variable/CMAKE_NO_SYSTEM_FROM_IMPORTED
304 305 306
   /variable/CMAKE_OSX_ARCHITECTURES
   /variable/CMAKE_OSX_DEPLOYMENT_TARGET
   /variable/CMAKE_OSX_SYSROOT
307
   /variable/CMAKE_PDB_OUTPUT_DIRECTORY
308
   /variable/CMAKE_PDB_OUTPUT_DIRECTORY_CONFIG
309 310
   /variable/CMAKE_POSITION_INDEPENDENT_CODE
   /variable/CMAKE_RUNTIME_OUTPUT_DIRECTORY
311
   /variable/CMAKE_RUNTIME_OUTPUT_DIRECTORY_CONFIG
312
   /variable/CMAKE_SHARED_LINKER_FLAGS_CONFIG
313
   /variable/CMAKE_SHARED_LINKER_FLAGS_CONFIG_INIT
314
   /variable/CMAKE_SHARED_LINKER_FLAGS
315
   /variable/CMAKE_SHARED_LINKER_FLAGS_INIT
316 317 318
   /variable/CMAKE_SKIP_BUILD_RPATH
   /variable/CMAKE_SKIP_INSTALL_RPATH
   /variable/CMAKE_STATIC_LINKER_FLAGS_CONFIG
319
   /variable/CMAKE_STATIC_LINKER_FLAGS_CONFIG_INIT
320
   /variable/CMAKE_STATIC_LINKER_FLAGS
321
   /variable/CMAKE_STATIC_LINKER_FLAGS_INIT
322
   /variable/CMAKE_TRY_COMPILE_CONFIGURATION
323
   /variable/CMAKE_TRY_COMPILE_PLATFORM_VARIABLES
324
   /variable/CMAKE_TRY_COMPILE_TARGET_TYPE
325 326
   /variable/CMAKE_USE_RELATIVE_PATHS
   /variable/CMAKE_VISIBILITY_INLINES_HIDDEN
327
   /variable/CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD
328
   /variable/CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
329
   /variable/CMAKE_WIN32_EXECUTABLE
330
   /variable/CMAKE_XCODE_ATTRIBUTE_an-attribute
331 332 333 334 335 336 337
   /variable/EXECUTABLE_OUTPUT_PATH
   /variable/LIBRARY_OUTPUT_PATH

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

.. toctree::
338 339
   :maxdepth: 1

340 341 342
   /variable/CMAKE_COMPILER_IS_GNUCC
   /variable/CMAKE_COMPILER_IS_GNUCXX
   /variable/CMAKE_COMPILER_IS_GNUG77
343 344 345 346
   /variable/CMAKE_C_COMPILE_FEATURES
   /variable/CMAKE_C_EXTENSIONS
   /variable/CMAKE_C_STANDARD
   /variable/CMAKE_C_STANDARD_REQUIRED
347
   /variable/CMAKE_CXX_COMPILE_FEATURES
348
   /variable/CMAKE_CXX_EXTENSIONS
349
   /variable/CMAKE_CXX_STANDARD
350
   /variable/CMAKE_CXX_STANDARD_REQUIRED
351 352 353 354
   /variable/CMAKE_Fortran_MODDIR_DEFAULT
   /variable/CMAKE_Fortran_MODDIR_FLAG
   /variable/CMAKE_Fortran_MODOUT_FLAG
   /variable/CMAKE_INTERNAL_PLATFORM_ABI
355 356
   /variable/CMAKE_LANG_ANDROID_TOOLCHAIN_PREFIX
   /variable/CMAKE_LANG_ANDROID_TOOLCHAIN_SUFFIX
357 358 359 360 361 362 363 364
   /variable/CMAKE_LANG_ARCHIVE_APPEND
   /variable/CMAKE_LANG_ARCHIVE_CREATE
   /variable/CMAKE_LANG_ARCHIVE_FINISH
   /variable/CMAKE_LANG_COMPILE_OBJECT
   /variable/CMAKE_LANG_COMPILER_ABI
   /variable/CMAKE_LANG_COMPILER_ID
   /variable/CMAKE_LANG_COMPILER_LOADED
   /variable/CMAKE_LANG_COMPILER
365
   /variable/CMAKE_LANG_COMPILER_EXTERNAL_TOOLCHAIN
366
   /variable/CMAKE_LANG_COMPILER_TARGET
367 368 369 370 371
   /variable/CMAKE_LANG_COMPILER_VERSION
   /variable/CMAKE_LANG_CREATE_SHARED_LIBRARY
   /variable/CMAKE_LANG_CREATE_SHARED_MODULE
   /variable/CMAKE_LANG_CREATE_STATIC_LIBRARY
   /variable/CMAKE_LANG_FLAGS_DEBUG
372
   /variable/CMAKE_LANG_FLAGS_DEBUG_INIT
373
   /variable/CMAKE_LANG_FLAGS_MINSIZEREL
374
   /variable/CMAKE_LANG_FLAGS_MINSIZEREL_INIT
375
   /variable/CMAKE_LANG_FLAGS_RELEASE
376
   /variable/CMAKE_LANG_FLAGS_RELEASE_INIT
377
   /variable/CMAKE_LANG_FLAGS_RELWITHDEBINFO
378
   /variable/CMAKE_LANG_FLAGS_RELWITHDEBINFO_INIT
379
   /variable/CMAKE_LANG_FLAGS
380
   /variable/CMAKE_LANG_FLAGS_INIT
381 382 383 384
   /variable/CMAKE_LANG_GHS_KERNEL_FLAGS_DEBUG
   /variable/CMAKE_LANG_GHS_KERNEL_FLAGS_MINSIZEREL
   /variable/CMAKE_LANG_GHS_KERNEL_FLAGS_RELEASE
   /variable/CMAKE_LANG_GHS_KERNEL_FLAGS_RELWITHDEBINFO
385 386 387 388 389 390 391 392 393 394 395 396 397 398 399
   /variable/CMAKE_LANG_IGNORE_EXTENSIONS
   /variable/CMAKE_LANG_IMPLICIT_INCLUDE_DIRECTORIES
   /variable/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES
   /variable/CMAKE_LANG_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES
   /variable/CMAKE_LANG_IMPLICIT_LINK_LIBRARIES
   /variable/CMAKE_LANG_LIBRARY_ARCHITECTURE
   /variable/CMAKE_LANG_LINKER_PREFERENCE_PROPAGATES
   /variable/CMAKE_LANG_LINKER_PREFERENCE
   /variable/CMAKE_LANG_LINK_EXECUTABLE
   /variable/CMAKE_LANG_OUTPUT_EXTENSION
   /variable/CMAKE_LANG_PLATFORM_ID
   /variable/CMAKE_LANG_SIMULATE_ID
   /variable/CMAKE_LANG_SIMULATE_VERSION
   /variable/CMAKE_LANG_SIZEOF_DATA_PTR
   /variable/CMAKE_LANG_SOURCE_FILE_EXTENSIONS
400
   /variable/CMAKE_LANG_STANDARD_INCLUDE_DIRECTORIES
401
   /variable/CMAKE_LANG_STANDARD_LIBRARIES
402
   /variable/CMAKE_Swift_LANGUAGE_VERSION
403 404
   /variable/CMAKE_USER_MAKE_RULES_OVERRIDE_LANG

405 406 407 408 409 410 411 412 413 414 415
Variables for CTest
===================

.. toctree::
   :maxdepth: 1

   /variable/CTEST_BINARY_DIRECTORY
   /variable/CTEST_BUILD_COMMAND
   /variable/CTEST_BUILD_NAME
   /variable/CTEST_BZR_COMMAND
   /variable/CTEST_BZR_UPDATE_OPTIONS
416
   /variable/CTEST_CHANGE_ID
417 418 419 420 421 422
   /variable/CTEST_CHECKOUT_COMMAND
   /variable/CTEST_CONFIGURATION_TYPE
   /variable/CTEST_CONFIGURE_COMMAND
   /variable/CTEST_COVERAGE_COMMAND
   /variable/CTEST_COVERAGE_EXTRA_FLAGS
   /variable/CTEST_CURL_OPTIONS
423 424 425 426 427
   /variable/CTEST_CUSTOM_COVERAGE_EXCLUDE
   /variable/CTEST_CUSTOM_ERROR_EXCEPTION
   /variable/CTEST_CUSTOM_ERROR_MATCH
   /variable/CTEST_CUSTOM_ERROR_POST_CONTEXT
   /variable/CTEST_CUSTOM_ERROR_PRE_CONTEXT
428
   /variable/CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE
429 430
   /variable/CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS
   /variable/CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS
431
   /variable/CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE
432 433 434 435 436 437 438 439
   /variable/CTEST_CUSTOM_MEMCHECK_IGNORE
   /variable/CTEST_CUSTOM_POST_MEMCHECK
   /variable/CTEST_CUSTOM_POST_TEST
   /variable/CTEST_CUSTOM_PRE_MEMCHECK
   /variable/CTEST_CUSTOM_PRE_TEST
   /variable/CTEST_CUSTOM_TEST_IGNORE
   /variable/CTEST_CUSTOM_WARNING_EXCEPTION
   /variable/CTEST_CUSTOM_WARNING_MATCH
440 441 442 443 444 445 446 447 448
   /variable/CTEST_CVS_CHECKOUT
   /variable/CTEST_CVS_COMMAND
   /variable/CTEST_CVS_UPDATE_OPTIONS
   /variable/CTEST_DROP_LOCATION
   /variable/CTEST_DROP_METHOD
   /variable/CTEST_DROP_SITE
   /variable/CTEST_DROP_SITE_CDASH
   /variable/CTEST_DROP_SITE_PASSWORD
   /variable/CTEST_DROP_SITE_USER
449
   /variable/CTEST_EXTRA_COVERAGE_GLOB
450
   /variable/CTEST_GIT_COMMAND
451
   /variable/CTEST_GIT_INIT_SUBMODULES
452 453 454 455 456 457
   /variable/CTEST_GIT_UPDATE_CUSTOM
   /variable/CTEST_GIT_UPDATE_OPTIONS
   /variable/CTEST_HG_COMMAND
   /variable/CTEST_HG_UPDATE_OPTIONS
   /variable/CTEST_MEMORYCHECK_COMMAND
   /variable/CTEST_MEMORYCHECK_COMMAND_OPTIONS
458
   /variable/CTEST_MEMORYCHECK_SANITIZER_OPTIONS
459
   /variable/CTEST_MEMORYCHECK_SUPPRESSIONS_FILE
460
   /variable/CTEST_MEMORYCHECK_TYPE
461 462 463 464 465 466 467 468 469 470 471
   /variable/CTEST_NIGHTLY_START_TIME
   /variable/CTEST_P4_CLIENT
   /variable/CTEST_P4_COMMAND
   /variable/CTEST_P4_OPTIONS
   /variable/CTEST_P4_UPDATE_OPTIONS
   /variable/CTEST_SCP_COMMAND
   /variable/CTEST_SITE
   /variable/CTEST_SOURCE_DIRECTORY
   /variable/CTEST_SVN_COMMAND
   /variable/CTEST_SVN_OPTIONS
   /variable/CTEST_SVN_UPDATE_OPTIONS
472
   /variable/CTEST_TEST_LOAD
473 474 475 476
   /variable/CTEST_TEST_TIMEOUT
   /variable/CTEST_TRIGGER_SITE
   /variable/CTEST_UPDATE_COMMAND
   /variable/CTEST_UPDATE_OPTIONS
477
   /variable/CTEST_UPDATE_VERSION_ONLY
478 479
   /variable/CTEST_USE_LAUNCHERS

480 481 482 483
Variables for CPack
===================

.. toctree::
484 485
   :maxdepth: 1

486 487 488 489 490 491 492 493
   /variable/CPACK_ABSOLUTE_DESTINATION_FILES
   /variable/CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY
   /variable/CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION
   /variable/CPACK_INCLUDE_TOPLEVEL_DIRECTORY
   /variable/CPACK_INSTALL_SCRIPT
   /variable/CPACK_PACKAGING_INSTALL_PREFIX
   /variable/CPACK_SET_DESTDIR
   /variable/CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION