mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-24 16:49:18 -06:00
Help: Add Sphinx 'versionadded' directives to each top-level document
Run the `Utilities/Sphinx/update_versions.py` script to add initial markup to every top-level document and find module. Issue: #19715
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
ANDROID
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.7
|
||||
|
||||
Set to ``1`` when the target system (:variable:`CMAKE_SYSTEM_NAME`) is
|
||||
``Android``.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CACHE
|
||||
-----
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
Operator to read cache variables.
|
||||
|
||||
Use the syntax ``$CACHE{VAR}`` to read cache entry ``VAR``.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_AIX_EXPORT_ALL_SYMBOLS
|
||||
----------------------------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
Default value for :prop_tgt:`AIX_EXPORT_ALL_SYMBOLS` target property.
|
||||
This variable is used to initialize the property on each target as it is
|
||||
created.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_ANDROID_ANT_ADDITIONAL_OPTIONS
|
||||
------------------------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
Default value for the :prop_tgt:`ANDROID_ANT_ADDITIONAL_OPTIONS` target property.
|
||||
See that target property for additional information.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ANDROID_API
|
||||
-----------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
When :ref:`Cross Compiling for Android with NVIDIA Nsight Tegra Visual Studio
|
||||
Edition`, this variable may be set to specify the default value for the
|
||||
:prop_tgt:`ANDROID_API` target property. See that target property for
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_ANDROID_API_MIN
|
||||
---------------------
|
||||
|
||||
.. versionadded:: 3.2
|
||||
|
||||
Default value for the :prop_tgt:`ANDROID_API_MIN` target property.
|
||||
See that target property for additional information.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ANDROID_ARCH
|
||||
------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
When :ref:`Cross Compiling for Android with NVIDIA Nsight Tegra Visual Studio
|
||||
Edition`, this variable may be set to specify the default value for the
|
||||
:prop_tgt:`ANDROID_ARCH` target property. See that target property for
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ANDROID_ARCH_ABI
|
||||
----------------------
|
||||
|
||||
.. versionadded:: 3.7
|
||||
|
||||
When :ref:`Cross Compiling for Android`, this variable specifies the
|
||||
target architecture and ABI to be used. Valid values are:
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ANDROID_ARM_MODE
|
||||
----------------------
|
||||
|
||||
.. versionadded:: 3.7
|
||||
|
||||
When :ref:`Cross Compiling for Android` and :variable:`CMAKE_ANDROID_ARCH_ABI`
|
||||
is set to one of the ``armeabi`` architectures, set ``CMAKE_ANDROID_ARM_MODE``
|
||||
to ``ON`` to target 32-bit ARM processors (``-marm``). Otherwise, the
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ANDROID_ARM_NEON
|
||||
----------------------
|
||||
|
||||
.. versionadded:: 3.7
|
||||
|
||||
When :ref:`Cross Compiling for Android` and :variable:`CMAKE_ANDROID_ARCH_ABI`
|
||||
is set to ``armeabi-v7a`` set ``CMAKE_ANDROID_ARM_NEON`` to ``ON`` to target
|
||||
ARM NEON devices.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_ANDROID_ASSETS_DIRECTORIES
|
||||
--------------------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
Default value for the :prop_tgt:`ANDROID_ASSETS_DIRECTORIES` target property.
|
||||
See that target property for additional information.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_ANDROID_GUI
|
||||
-----------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Default value for the :prop_tgt:`ANDROID_GUI` target property of
|
||||
executables. See that target property for additional information.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_ANDROID_JAR_DEPENDENCIES
|
||||
------------------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
Default value for the :prop_tgt:`ANDROID_JAR_DEPENDENCIES` target property.
|
||||
See that target property for additional information.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_ANDROID_JAR_DIRECTORIES
|
||||
-----------------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
Default value for the :prop_tgt:`ANDROID_JAR_DIRECTORIES` target property.
|
||||
See that target property for additional information.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_ANDROID_JAVA_SOURCE_DIR
|
||||
-----------------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
Default value for the :prop_tgt:`ANDROID_JAVA_SOURCE_DIR` target property.
|
||||
See that target property for additional information.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_ANDROID_NATIVE_LIB_DEPENDENCIES
|
||||
-------------------------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
Default value for the :prop_tgt:`ANDROID_NATIVE_LIB_DEPENDENCIES` target
|
||||
property. See that target property for additional information.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_ANDROID_NATIVE_LIB_DIRECTORIES
|
||||
------------------------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
Default value for the :prop_tgt:`ANDROID_NATIVE_LIB_DIRECTORIES` target
|
||||
property. See that target property for additional information.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ANDROID_NDK
|
||||
-----------------
|
||||
|
||||
.. versionadded:: 3.7
|
||||
|
||||
When :ref:`Cross Compiling for Android with the NDK`, this variable holds
|
||||
the absolute path to the root directory of the NDK. The directory must
|
||||
contain a ``platforms`` subdirectory holding the ``android-<api>``
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ANDROID_NDK_DEPRECATED_HEADERS
|
||||
------------------------------------
|
||||
|
||||
.. versionadded:: 3.9
|
||||
|
||||
When :ref:`Cross Compiling for Android with the NDK`, this variable
|
||||
may be set to specify whether to use the deprecated per-api-level
|
||||
headers instead of the unified headers.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG
|
||||
------------------------------------
|
||||
|
||||
.. versionadded:: 3.7.1
|
||||
|
||||
When :ref:`Cross Compiling for Android with the NDK`, this variable
|
||||
provides the NDK's "host tag" used to construct the path to prebuilt
|
||||
toolchains that run on the host.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION
|
||||
-----------------------------------
|
||||
|
||||
.. versionadded:: 3.7
|
||||
|
||||
When :ref:`Cross Compiling for Android with the NDK`, this variable
|
||||
may be set to specify the version of the toolchain to be used
|
||||
as the compiler.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_ANDROID_PROCESS_MAX
|
||||
-------------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
Default value for the :prop_tgt:`ANDROID_PROCESS_MAX` target property.
|
||||
See that target property for additional information.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_ANDROID_PROGUARD
|
||||
----------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
Default value for the :prop_tgt:`ANDROID_PROGUARD` target property.
|
||||
See that target property for additional information.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_ANDROID_PROGUARD_CONFIG_PATH
|
||||
----------------------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
Default value for the :prop_tgt:`ANDROID_PROGUARD_CONFIG_PATH` target property.
|
||||
See that target property for additional information.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_ANDROID_SECURE_PROPS_PATH
|
||||
-------------------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
Default value for the :prop_tgt:`ANDROID_SECURE_PROPS_PATH` target property.
|
||||
See that target property for additional information.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_ANDROID_SKIP_ANT_STEP
|
||||
---------------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
Default value for the :prop_tgt:`ANDROID_SKIP_ANT_STEP` target property.
|
||||
See that target property for additional information.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ANDROID_STANDALONE_TOOLCHAIN
|
||||
----------------------------------
|
||||
|
||||
.. versionadded:: 3.7
|
||||
|
||||
When :ref:`Cross Compiling for Android with a Standalone Toolchain`, this
|
||||
variable holds the absolute path to the root directory of the toolchain.
|
||||
The specified directory must contain a ``sysroot`` subdirectory.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ANDROID_STL_TYPE
|
||||
----------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
When :ref:`Cross Compiling for Android with NVIDIA Nsight Tegra Visual Studio
|
||||
Edition`, this variable may be set to specify the default value for the
|
||||
:prop_tgt:`ANDROID_STL_TYPE` target property. See that target property
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ARCHIVE_OUTPUT_DIRECTORY_<CONFIG>
|
||||
---------------------------------------
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
Where to put all the :ref:`ARCHIVE <Archive Output Artifacts>`
|
||||
target files when built for a specific configuration.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_AUTOGEN_ORIGIN_DEPENDS
|
||||
----------------------------
|
||||
|
||||
.. versionadded:: 3.14
|
||||
|
||||
Switch for forwarding origin target dependencies to the corresponding
|
||||
``_autogen`` targets.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_AUTOGEN_PARALLEL
|
||||
----------------------
|
||||
|
||||
.. versionadded:: 3.11
|
||||
|
||||
Number of parallel ``moc`` or ``uic`` processes to start when using
|
||||
:prop_tgt:`AUTOMOC` and :prop_tgt:`AUTOUIC`.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_AUTOGEN_VERBOSE
|
||||
---------------------
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
Sets the verbosity of :prop_tgt:`AUTOMOC`, :prop_tgt:`AUTOUIC` and
|
||||
:prop_tgt:`AUTORCC`. A positive integer value or a true boolean value
|
||||
lets the ``AUTO*`` generators output additional processing information.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_AUTOMOC_COMPILER_PREDEFINES
|
||||
---------------------------------
|
||||
|
||||
.. versionadded:: 3.10
|
||||
|
||||
This variable is used to initialize the :prop_tgt:`AUTOMOC_COMPILER_PREDEFINES`
|
||||
property on all the targets. See that target property for additional
|
||||
information.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_AUTOMOC_DEPEND_FILTERS
|
||||
----------------------------
|
||||
|
||||
.. versionadded:: 3.9
|
||||
|
||||
Filter definitions used by :variable:`CMAKE_AUTOMOC`
|
||||
to extract file names from source code as additional dependencies
|
||||
for the ``moc`` file.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_AUTOMOC_MACRO_NAMES
|
||||
----------------------------
|
||||
|
||||
.. versionadded:: 3.10
|
||||
|
||||
:ref:`Semicolon-separated list <CMake Language Lists>` list of macro names used by
|
||||
:variable:`CMAKE_AUTOMOC` to determine if a C++ file needs to be
|
||||
processed by ``moc``.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_AUTOMOC_PATH_PREFIX
|
||||
-------------------------
|
||||
|
||||
.. versionadded:: 3.16
|
||||
|
||||
Whether to generate the ``-p`` path prefix option for ``moc`` on
|
||||
:prop_tgt:`AUTOMOC` enabled Qt targets.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_AUTOUIC_SEARCH_PATHS
|
||||
--------------------------
|
||||
|
||||
.. versionadded:: 3.9
|
||||
|
||||
Search path list used by :variable:`CMAKE_AUTOUIC` to find included
|
||||
``.ui`` files.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_BUILD_RPATH
|
||||
-----------------
|
||||
|
||||
.. versionadded:: 3.8
|
||||
|
||||
:ref:`Semicolon-separated list <CMake Language Lists>` specifying runtime path (``RPATH``)
|
||||
entries to add to binaries linked in the build tree (for platforms that
|
||||
support it). The entries will *not* be used for binaries in the install
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_BUILD_RPATH_USE_ORIGIN
|
||||
----------------------------
|
||||
|
||||
.. versionadded:: 3.14
|
||||
|
||||
Whether to use relative paths for the build ``RPATH``.
|
||||
|
||||
This is used to initialize the :prop_tgt:`BUILD_RPATH_USE_ORIGIN` target
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_BUILD_WITH_INSTALL_NAME_DIR
|
||||
---------------------------------
|
||||
|
||||
.. versionadded:: 3.9
|
||||
|
||||
Whether to use :prop_tgt:`INSTALL_NAME_DIR` on targets in the build tree.
|
||||
|
||||
This variable is used to initialize the :prop_tgt:`BUILD_WITH_INSTALL_NAME_DIR`
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CODEBLOCKS_COMPILER_ID
|
||||
----------------------------
|
||||
|
||||
.. versionadded:: 3.11
|
||||
|
||||
Change the compiler id in the generated CodeBlocks project files.
|
||||
|
||||
CodeBlocks uses its own compiler id string which differs from
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES
|
||||
---------------------------------------
|
||||
|
||||
.. versionadded:: 3.10
|
||||
|
||||
Change the way the CodeBlocks generator creates project files.
|
||||
|
||||
If this variable evaluates to ``ON`` the generator excludes from
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CODELITE_USE_TARGETS
|
||||
--------------------------
|
||||
|
||||
.. versionadded:: 3.7
|
||||
|
||||
Change the way the CodeLite generator creates projectfiles.
|
||||
|
||||
If this variable evaluates to ``ON`` at the end of the top-level
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_COMPILER_IS_GNUCC
|
||||
-----------------------
|
||||
|
||||
.. versionadded:: 3.7
|
||||
|
||||
True if the ``C`` compiler is GNU.
|
||||
Use :variable:`CMAKE_C_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>` instead.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_COMPILER_IS_GNUCXX
|
||||
------------------------
|
||||
|
||||
.. versionadded:: 3.7
|
||||
|
||||
True if the C++ (``CXX``) compiler is GNU.
|
||||
Use :variable:`CMAKE_CXX_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>` instead.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
CMAKE_COMPILER_IS_GNUG77
|
||||
------------------------
|
||||
|
||||
.. versionadded:: 3.7
|
||||
|
||||
True if the ``Fortran`` compiler is GNU.
|
||||
Use :variable:`CMAKE_Fortran_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>` instead.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_COMPILE_PDB_OUTPUT_DIRECTORY
|
||||
----------------------------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Output directory for MS debug symbol ``.pdb`` files
|
||||
generated by the compiler while building source files.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_COMPILE_PDB_OUTPUT_DIRECTORY_<CONFIG>
|
||||
-------------------------------------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Per-configuration output directory for MS debug symbol ``.pdb`` files
|
||||
generated by the compiler while building source files.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CPACK_COMMAND
|
||||
-------------------
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
Full path to :manual:`cpack(1)` command installed with CMake.
|
||||
|
||||
This is the full path to the CPack executable :manual:`cpack(1)` which is
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CROSSCOMPILING_EMULATOR
|
||||
-----------------------------
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
This variable is only used when :variable:`CMAKE_CROSSCOMPILING` is on. It
|
||||
should point to a command on the host system that can run executable built
|
||||
for the target system.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CROSS_CONFIGS
|
||||
-------------------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
Specifies a :ref:`semicolon-separated list <CMake Language Lists>` of
|
||||
configurations available from all ``build-<Config>.ninja`` files in the
|
||||
:generator:`Ninja Multi-Config` generator. This variable activates
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CTEST_ARGUMENTS
|
||||
---------------------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
Set this to a :ref:`semicolon-separated list <CMake Language Lists>` of
|
||||
command-line arguments to pass to :manual:`ctest(1)` when running tests
|
||||
through the ``test`` (or ``RUN_TESTS``) target of the generated build system.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CUDA_ARCHITECTURES
|
||||
------------------------
|
||||
|
||||
.. versionadded:: 3.18
|
||||
|
||||
Default value for :prop_tgt:`CUDA_ARCHITECTURES` property of targets.
|
||||
|
||||
This is initialized as follows depending on :variable:`CMAKE_CUDA_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>`:
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CUDA_COMPILE_FEATURES
|
||||
---------------------------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
List of features known to the CUDA compiler
|
||||
|
||||
These features are known to be available for use with the CUDA compiler. This
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CUDA_EXTENSIONS
|
||||
---------------------
|
||||
|
||||
.. versionadded:: 3.8
|
||||
|
||||
Default value for :prop_tgt:`CUDA_EXTENSIONS` property of targets.
|
||||
|
||||
This variable is used to initialize the :prop_tgt:`CUDA_EXTENSIONS`
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CUDA_HOST_COMPILER
|
||||
------------------------
|
||||
|
||||
.. versionadded:: 3.10
|
||||
|
||||
Executable to use when compiling host code when compiling ``CUDA`` language
|
||||
files. Maps to the ``nvcc -ccbin`` option. Will only be used by CMake on the first
|
||||
configuration to determine a valid host compiler for ``CUDA``. After a valid
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CUDA_RESOLVE_DEVICE_SYMBOLS
|
||||
---------------------------------
|
||||
|
||||
.. versionadded:: 3.16
|
||||
|
||||
Default value for :prop_tgt:`CUDA_RESOLVE_DEVICE_SYMBOLS` target
|
||||
property. This variable is used to initialize the property on each target as
|
||||
it is created.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CUDA_RUNTIME_LIBRARY
|
||||
--------------------------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
Select the CUDA runtime library for use when compiling and linking CUDA.
|
||||
This variable is used to initialize the :prop_tgt:`CUDA_RUNTIME_LIBRARY`
|
||||
property on all targets as they are created.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CUDA_SEPARABLE_COMPILATION
|
||||
--------------------------------
|
||||
|
||||
.. versionadded:: 3.11
|
||||
|
||||
Default value for :prop_tgt:`CUDA_SEPARABLE_COMPILATION` target property.
|
||||
This variable is used to initialize the property on each target as it is
|
||||
created.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CUDA_STANDARD
|
||||
-------------------
|
||||
|
||||
.. versionadded:: 3.8
|
||||
|
||||
Default value for :prop_tgt:`CUDA_STANDARD` property of targets.
|
||||
|
||||
This variable is used to initialize the :prop_tgt:`CUDA_STANDARD`
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CUDA_STANDARD_REQUIRED
|
||||
----------------------------
|
||||
|
||||
.. versionadded:: 3.8
|
||||
|
||||
Default value for :prop_tgt:`CUDA_STANDARD_REQUIRED` property of targets.
|
||||
|
||||
This variable is used to initialize the :prop_tgt:`CUDA_STANDARD_REQUIRED`
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES
|
||||
--------------------------------------
|
||||
|
||||
.. versionadded:: 3.8
|
||||
|
||||
When the ``CUDA`` language has been enabled, this provides a
|
||||
:ref:`semicolon-separated list <CMake Language Lists>` of include directories provided
|
||||
by the CUDA Toolkit. The value may be useful for C++ source files
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CURRENT_FUNCTION
|
||||
----------------------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
When executing code inside a :command:`function`, this variable
|
||||
contains the name of the current function. It can be useful for
|
||||
diagnostic or debug messages.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CURRENT_FUNCTION_LIST_DIR
|
||||
-------------------------------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
When executing code inside a :command:`function`, this variable
|
||||
contains the full directory of the listfile that defined the current function.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CURRENT_FUNCTION_LIST_FILE
|
||||
--------------------------------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
When executing code inside a :command:`function`, this variable
|
||||
contains the full path to the listfile that defined the current function.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CURRENT_FUNCTION_LIST_LINE
|
||||
--------------------------------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
When executing code inside a :command:`function`, this variable
|
||||
contains the line number in the listfile where the current function
|
||||
was defined.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CXX_COMPILE_FEATURES
|
||||
--------------------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
List of features known to the C++ compiler
|
||||
|
||||
These features are known to be available for use with the C++ compiler. This
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CXX_EXTENSIONS
|
||||
--------------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Default value for :prop_tgt:`CXX_EXTENSIONS` property of targets.
|
||||
|
||||
This variable is used to initialize the :prop_tgt:`CXX_EXTENSIONS`
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CXX_STANDARD
|
||||
------------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Default value for :prop_tgt:`CXX_STANDARD` property of targets.
|
||||
|
||||
This variable is used to initialize the :prop_tgt:`CXX_STANDARD`
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_CXX_STANDARD_REQUIRED
|
||||
---------------------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Default value for :prop_tgt:`CXX_STANDARD_REQUIRED` property of targets.
|
||||
|
||||
This variable is used to initialize the :prop_tgt:`CXX_STANDARD_REQUIRED`
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_C_COMPILE_FEATURES
|
||||
------------------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
List of features known to the C compiler
|
||||
|
||||
These features are known to be available for use with the C compiler. This
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_C_EXTENSIONS
|
||||
------------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Default value for :prop_tgt:`C_EXTENSIONS` property of targets.
|
||||
|
||||
This variable is used to initialize the :prop_tgt:`C_EXTENSIONS`
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_C_STANDARD
|
||||
----------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Default value for :prop_tgt:`C_STANDARD` property of targets.
|
||||
|
||||
This variable is used to initialize the :prop_tgt:`C_STANDARD`
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_C_STANDARD_REQUIRED
|
||||
-------------------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Default value for :prop_tgt:`C_STANDARD_REQUIRED` property of targets.
|
||||
|
||||
This variable is used to initialize the :prop_tgt:`C_STANDARD_REQUIRED`
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_DEFAULT_BUILD_TYPE
|
||||
------------------------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
Specifies the configuration to use by default in a ``build.ninja`` file in the
|
||||
:generator:`Ninja Multi-Config` generator. If this variable is specified,
|
||||
``build.ninja`` uses build rules from ``build-<Config>.ninja`` by default. All
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_DEFAULT_CONFIGS
|
||||
---------------------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
Specifies a :ref:`semicolon-separated list <CMake Language Lists>` of configurations
|
||||
to build for a target in ``build.ninja`` if no ``:<Config>`` suffix is specified in
|
||||
the :generator:`Ninja Multi-Config` generator. If it is set to ``all``, all
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_DEPENDS_IN_PROJECT_ONLY
|
||||
-----------------------------
|
||||
|
||||
.. versionadded:: 3.6
|
||||
|
||||
When set to ``TRUE`` in a directory, the build system produced by the
|
||||
:ref:`Makefile Generators` is set up to only consider dependencies on source
|
||||
files that appear either in the source or in the binary directories. Changes
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_DIRECTORY_LABELS
|
||||
-----------------------
|
||||
|
||||
.. versionadded:: 3.10
|
||||
|
||||
Specify labels for the current directory.
|
||||
|
||||
This is used to initialize the :prop_dir:`LABELS` directory property.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_DISABLE_PRECOMPILE_HEADERS
|
||||
--------------------------------
|
||||
|
||||
.. versionadded:: 3.16
|
||||
|
||||
Default value for :prop_tgt:`DISABLE_PRECOMPILE_HEADERS` of targets.
|
||||
|
||||
By default ``CMAKE_DISABLE_PRECOMPILE_HEADERS`` is ``OFF``.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_DOTNET_TARGET_FRAMEWORK
|
||||
-----------------------------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
Default value for :prop_tgt:`DOTNET_TARGET_FRAMEWORK` property of
|
||||
targets.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION
|
||||
-------------------------------------
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
||||
Default value for :prop_tgt:`DOTNET_TARGET_FRAMEWORK_VERSION`
|
||||
property of targets.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES
|
||||
---------------------------------------
|
||||
|
||||
.. versionadded:: 3.6
|
||||
|
||||
This cache variable is used by the Eclipse project generator. See
|
||||
:manual:`cmake-generators(7)`.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT
|
||||
-------------------------------------
|
||||
|
||||
.. versionadded:: 3.6
|
||||
|
||||
This cache variable is used by the Eclipse project generator. See
|
||||
:manual:`cmake-generators(7)`.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ECLIPSE_MAKE_ARGUMENTS
|
||||
----------------------------
|
||||
|
||||
.. versionadded:: 3.6
|
||||
|
||||
This cache variable is used by the Eclipse project generator. See
|
||||
:manual:`cmake-generators(7)`.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ECLIPSE_RESOURCE_ENCODING
|
||||
-------------------------------
|
||||
|
||||
.. versionadded:: 3.16
|
||||
|
||||
This cache variable tells the :generator:`Eclipse CDT4` project generator
|
||||
to set the resource encoding to the given value in generated project files.
|
||||
If no value is given, no encoding will be set.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ECLIPSE_VERSION
|
||||
---------------------
|
||||
|
||||
.. versionadded:: 3.6
|
||||
|
||||
This cache variable is used by the Eclipse project generator. See
|
||||
:manual:`cmake-generators(7)`.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_ENABLE_EXPORTS
|
||||
--------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
Specify whether executables export symbols for loadable modules.
|
||||
|
||||
This variable is used to initialize the :prop_tgt:`ENABLE_EXPORTS` target
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_EXECUTE_PROCESS_COMMAND_ECHO
|
||||
----------------------------------
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
If this variable is set to ``STDERR``, ``STDOUT`` or ``NONE`` then commands
|
||||
in :command:`execute_process` calls will be printed to either stderr or
|
||||
stdout or not at all.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_EXE_LINKER_FLAGS_<CONFIG>_INIT
|
||||
------------------------------------
|
||||
|
||||
.. versionadded:: 3.7
|
||||
|
||||
Value used to initialize the :variable:`CMAKE_EXE_LINKER_FLAGS_<CONFIG>`
|
||||
cache entry the first time a build tree is configured.
|
||||
This variable is meant to be set by a :variable:`toolchain file
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_EXE_LINKER_FLAGS_INIT
|
||||
---------------------------
|
||||
|
||||
.. versionadded:: 3.7
|
||||
|
||||
Value used to initialize the :variable:`CMAKE_EXE_LINKER_FLAGS`
|
||||
cache entry the first time a build tree is configured.
|
||||
This variable is meant to be set by a :variable:`toolchain file
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_EXPORT_COMPILE_COMMANDS
|
||||
-----------------------------
|
||||
|
||||
.. versionadded:: 3.5
|
||||
|
||||
Enable/Disable output of compile commands during generation.
|
||||
|
||||
If enabled, generates a ``compile_commands.json`` file containing the exact
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
|
||||
--------------------------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Disable the :command:`export(PACKAGE)` command when :policy:`CMP0090`
|
||||
is not set to ``NEW``.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_EXPORT_PACKAGE_REGISTRY
|
||||
-----------------------------
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
Enables the :command:`export(PACKAGE)` command when :policy:`CMP0090`
|
||||
is set to ``NEW``.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_FIND_APPBUNDLE
|
||||
--------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
This variable affects how ``find_*`` commands choose between
|
||||
macOS Application Bundles and unix-style package components.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_FIND_DEBUG_MODE
|
||||
---------------------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
Print extra find call information for the following commands to standard
|
||||
error:
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_FIND_FRAMEWORK
|
||||
--------------------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
This variable affects how ``find_*`` commands choose between
|
||||
macOS Frameworks and unix-style package components.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX
|
||||
------------------------------------
|
||||
|
||||
.. versionadded:: 3.9
|
||||
|
||||
Specify a ``<suffix>`` to tell the :command:`find_library` command to
|
||||
search in a ``lib<suffix>`` directory before each ``lib`` directory that
|
||||
would normally be searched.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_FIND_PACKAGE_NAME
|
||||
-----------------------
|
||||
|
||||
.. versionadded:: 3.1.1
|
||||
|
||||
Defined by the :command:`find_package` command while loading
|
||||
a find module to record the caller-specified package name.
|
||||
See command documentation for details.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
|
||||
--------------------------------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
.. deprecated:: 3.16
|
||||
|
||||
Use the :variable:`CMAKE_FIND_USE_PACKAGE_REGISTRY` variable instead.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY
|
||||
---------------------------------------------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
.. deprecated:: 3.16
|
||||
|
||||
Use the :variable:`CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY` variable instead.
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user