mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
Help: Use *.rst extension for included files
So, editor(s) can correctly highlight the RST syntax in the included files.
This commit is contained in:
@@ -3,7 +3,7 @@ ADSP_ROOT
|
||||
|
||||
.. versionadded:: 3.24
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The ``ADSP_ROOT`` environment variable specifies a default value
|
||||
for the :variable:`CMAKE_ADSP_ROOT` variable when there is no explicit
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
ASM<DIALECT>
|
||||
------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Preferred executable for compiling a specific dialect of assembly language
|
||||
files. ``ASM<DIALECT>`` can be one of:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
ASM<DIALECT>FLAGS
|
||||
-----------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Add default compilation flags to be used when compiling a specific dialect
|
||||
of an assembly language. ``ASM<DIALECT>FLAGS`` can be one of:
|
||||
@@ -14,6 +14,6 @@ of an assembly language. ``ASM<DIALECT>FLAGS`` can be one of:
|
||||
|
||||
.. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_ASM<DIALECT>_FLAGS <CMAKE_<LANG>_FLAGS>`
|
||||
.. |LANG| replace:: ``ASM<DIALECT>``
|
||||
.. include:: LANG_FLAGS.txt
|
||||
.. include:: include/LANG_FLAGS.rst
|
||||
|
||||
See also :variable:`CMAKE_ASM<DIALECT>_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
CC
|
||||
--
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Preferred executable for compiling ``C`` language files. Will only be used by
|
||||
CMake on the first configuration to determine ``C`` compiler, after which the
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
CFLAGS
|
||||
------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Add default compilation flags to be used when compiling ``C`` files.
|
||||
|
||||
.. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_C_FLAGS <CMAKE_<LANG>_FLAGS>`
|
||||
.. |LANG| replace:: ``C``
|
||||
.. include:: LANG_FLAGS.txt
|
||||
.. include:: include/LANG_FLAGS.rst
|
||||
|
||||
See also :variable:`CMAKE_C_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
||||
|
||||
@@ -3,7 +3,7 @@ CLICOLOR
|
||||
|
||||
.. versionadded:: 3.21
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Set to ``0`` to tell command-line tools not to print color
|
||||
messages even if connected to a terminal.
|
||||
|
||||
@@ -3,7 +3,7 @@ CLICOLOR_FORCE
|
||||
|
||||
.. versionadded:: 3.5
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Set to a non-empty value, other than ``0``, to tell command-line
|
||||
tools to print color messages even if not connected to a terminal.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
CMAKE_APPBUNDLE_PATH
|
||||
--------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The ``CMAKE_APPBUNDLE_PATH`` environment variable may be set to a list of
|
||||
directories to be searched for macOS application bundles
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_APPLE_SILICON_PROCESSOR
|
||||
|
||||
.. versionadded:: 3.19.2
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
On Apple Silicon hosts running macOS, set this environment variable to tell
|
||||
CMake what architecture to use for :variable:`CMAKE_HOST_SYSTEM_PROCESSOR`.
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_BUILD_PARALLEL_LEVEL
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Specifies the maximum number of concurrent processes to use when building
|
||||
using the ``cmake --build`` command line
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_BUILD_TYPE
|
||||
|
||||
.. versionadded:: 3.22
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The ``CMAKE_BUILD_TYPE`` environment variable specifies a default value
|
||||
for the :variable:`CMAKE_BUILD_TYPE` variable when there is no explicit
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_COLOR_DIAGNOSTICS
|
||||
|
||||
.. versionadded:: 3.24
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Specifies a default value for the :variable:`CMAKE_COLOR_DIAGNOSTICS` variable
|
||||
when there is no explicit value given on the first run.
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_CONFIGURATION_TYPES
|
||||
|
||||
.. versionadded:: 3.22
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The ``CMAKE_CONFIGURATION_TYPES`` environment variable specifies a
|
||||
default value for the :variable:`CMAKE_CONFIGURATION_TYPES` variable
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_CONFIG_DIR
|
||||
|
||||
.. versionadded:: 3.31
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Specify a CMake user-wide configuration directory for
|
||||
:manual:`cmake-file-api(7)` queries.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
CMAKE_CONFIG_TYPE
|
||||
-----------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The default build configuration for :ref:`Build Tool Mode` and
|
||||
``ctest`` build handler when there is no explicit configuration given.
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_CROSSCOMPILING_EMULATOR
|
||||
|
||||
.. versionadded:: 3.28
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The default value for :variable:`CMAKE_CROSSCOMPILING_EMULATOR` when there
|
||||
is no explicit configuration given on the first run while creating a new
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_EXPORT_BUILD_DATABASE
|
||||
|
||||
.. versionadded:: 3.31
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The default value for :variable:`CMAKE_EXPORT_BUILD_DATABASE` when there is no
|
||||
explicit configuration given on the first run while creating a new build tree.
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_EXPORT_COMPILE_COMMANDS
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The default value for :variable:`CMAKE_EXPORT_COMPILE_COMMANDS` when there
|
||||
is no explicit configuration given on the first run while creating a new
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
CMAKE_FRAMEWORK_PATH
|
||||
--------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The ``CMAKE_FRAMEWORK_PATH`` environment variable may be set to a list of
|
||||
directories to be searched for macOS frameworks by the :command:`find_library`,
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_GENERATOR
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Specifies the CMake default generator to use when no generator is supplied
|
||||
with :option:`-G <cmake -G>`. If the provided value doesn't name a generator
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_GENERATOR_INSTANCE
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Default value for :variable:`CMAKE_GENERATOR_INSTANCE` if no Cache entry is
|
||||
present. This value is only applied if :envvar:`CMAKE_GENERATOR` is set.
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_GENERATOR_PLATFORM
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Default value for :variable:`CMAKE_GENERATOR_PLATFORM` if no Cache entry
|
||||
is present and no value is specified by :option:`cmake -A` option.
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_GENERATOR_TOOLSET
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Default value for :variable:`CMAKE_GENERATOR_TOOLSET` if no Cache entry
|
||||
is present and no value is specified by :option:`cmake -T` option.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
CMAKE_INCLUDE_PATH
|
||||
------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The ``CMAKE_INCLUDE_PATH`` environment variable may be set to a list of
|
||||
directories to be searched by the :command:`find_file` and :command:`find_path` commands.
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_INSTALL_MODE
|
||||
|
||||
.. versionadded:: 3.22
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The ``CMAKE_INSTALL_MODE`` environment variable allows users to operate
|
||||
CMake in an alternate mode of :command:`file(INSTALL)` and :command:`install()`.
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_INSTALL_PARALLEL_LEVEL
|
||||
|
||||
.. versionadded:: 3.31
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Specifies the default maximum number of concurrent processes to use when
|
||||
installing using ``cmake --install``.
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_INSTALL_PREFIX
|
||||
|
||||
.. versionadded:: 3.29
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The ``CMAKE_INSTALL_PREFIX`` environment variable specifies a custom default
|
||||
value for the :variable:`CMAKE_INSTALL_PREFIX` variable in place of the
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_<LANG>_COMPILER_LAUNCHER
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Default compiler launcher to use for the specified language. Will only be used
|
||||
by CMake to initialize the variable on the first configuration. Afterwards, it
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE
|
||||
|
||||
.. versionadded:: 3.27
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
A :ref:`semicolon-separated list <CMake Language Lists>` of directories
|
||||
to exclude from the :variable:`CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES`
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_<LANG>_LINKER_LAUNCHER
|
||||
|
||||
.. versionadded:: 3.21
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Default launcher to use when linking a target of the specified language. Will
|
||||
only be used by CMake to initialize the variable on the first configuration.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
CMAKE_LIBRARY_PATH
|
||||
------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The ``CMAKE_LIBRARY_PATH`` environment variable may be set to a list of
|
||||
directories to be searched by the :command:`find_library` command.
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_MAXIMUM_RECURSION_DEPTH
|
||||
|
||||
.. versionadded:: 3.27
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Maximum recursion depth for CMake scripts. This environment variable is
|
||||
used if the :variable:`CMAKE_MAXIMUM_RECURSION_DEPTH` variable is not set.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
CMAKE_MSVCIDE_RUN_PATH
|
||||
----------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Extra PATH locations for custom commands when using
|
||||
:ref:`Visual Studio Generators`.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
CMAKE_OSX_ARCHITECTURES
|
||||
-----------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Target specific architectures for macOS.
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_POLICY_VERSION_MINIMUM
|
||||
|
||||
.. versionadded:: 4.0
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The default value for :variable:`CMAKE_POLICY_VERSION_MINIMUM` when there
|
||||
is no explicit configuration given on the first run while creating a new
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
CMAKE_PREFIX_PATH
|
||||
-----------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The ``CMAKE_PREFIX_PATH`` environment variable may be set to a list of
|
||||
directories specifying installation *prefixes* to be searched by the
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
CMAKE_PROGRAM_PATH
|
||||
------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The ``CMAKE_PROGRAM_PATH`` environment variable may be set to a list of
|
||||
directories to be searched by the :command:`find_program` command.
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_TEST_LAUNCHER
|
||||
|
||||
.. versionadded:: 3.29
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The default value for the :variable:`CMAKE_TEST_LAUNCHER` variable when there
|
||||
is no explicit configuration given on the first run while creating a new
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_TLS_VERIFY
|
||||
|
||||
.. versionadded:: 3.30
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Specify the default value for the :command:`file(DOWNLOAD)` and
|
||||
:command:`file(UPLOAD)` commands' ``TLS_VERIFY`` option.
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_TLS_VERSION
|
||||
|
||||
.. versionadded:: 3.30
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Specify the default value for the :command:`file(DOWNLOAD)` and
|
||||
:command:`file(UPLOAD)` commands' ``TLS_VERSION`` option.
|
||||
|
||||
@@ -3,7 +3,7 @@ CMAKE_TOOLCHAIN_FILE
|
||||
|
||||
.. versionadded:: 3.21
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
The ``CMAKE_TOOLCHAIN_FILE`` environment variable specifies a default value
|
||||
for the :variable:`CMAKE_TOOLCHAIN_FILE` variable when there is no explicit
|
||||
|
||||
@@ -3,12 +3,12 @@ CSFLAGS
|
||||
|
||||
.. versionadded:: 3.9.2
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Add default compilation flags to be used when compiling ``CSharp`` files.
|
||||
|
||||
.. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_CSharp_FLAGS <CMAKE_<LANG>_FLAGS>`
|
||||
.. |LANG| replace:: ``CSharp``
|
||||
.. include:: LANG_FLAGS.txt
|
||||
.. include:: include/LANG_FLAGS.rst
|
||||
|
||||
See also :variable:`CMAKE_CSharp_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
CTEST_INTERACTIVE_DEBUG_MODE
|
||||
----------------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Environment variable that will exist and be set to ``1`` when a test executed
|
||||
by :manual:`ctest(1)` is run in interactive mode.
|
||||
|
||||
@@ -3,7 +3,7 @@ CTEST_NO_TESTS_ACTION
|
||||
|
||||
.. versionadded:: 3.26
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Environment variable that controls how :manual:`ctest <ctest(1)>` handles
|
||||
cases when there are no tests to run. Possible values are: ``error``,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
CTEST_OUTPUT_ON_FAILURE
|
||||
-----------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Boolean environment variable that controls if the output should be logged for
|
||||
failed tests. Set the value to ``1``, ``True``, or ``ON`` to enable output on failure.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
CTEST_PARALLEL_LEVEL
|
||||
--------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Specify the number of tests for CTest to run in parallel.
|
||||
For example, if ``CTEST_PARALLEL_LEVEL`` is set to 8, CTest will run
|
||||
|
||||
@@ -3,7 +3,7 @@ CTEST_PROGRESS_OUTPUT
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Boolean environment variable that affects how :manual:`ctest <ctest(1)>`
|
||||
command output reports overall progress. When set to ``1``, ``TRUE``, ``ON`` or anything
|
||||
|
||||
@@ -3,7 +3,7 @@ CTEST_USE_INSTRUMENTATION
|
||||
|
||||
.. versionadded:: 4.0
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
.. note::
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
CTEST_USE_LAUNCHERS_DEFAULT
|
||||
---------------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Initializes the :variable:`CTEST_USE_LAUNCHERS` variable if not already defined.
|
||||
|
||||
@@ -3,7 +3,7 @@ CTEST_USE_VERBOSE_INSTRUMENTATION
|
||||
|
||||
.. versionadded:: 4.0
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
.. note::
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ CUDAARCHS
|
||||
|
||||
.. versionadded:: 3.20
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Value used to initialize :variable:`CMAKE_CUDA_ARCHITECTURES` on the first
|
||||
configuration. Subsequent runs will use the value stored in the cache.
|
||||
|
||||
@@ -3,7 +3,7 @@ CUDACXX
|
||||
|
||||
.. versionadded:: 3.8
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Preferred executable for compiling ``CUDA`` language files. Will only be used by
|
||||
CMake on the first configuration to determine ``CUDA`` compiler, after which the
|
||||
|
||||
@@ -3,12 +3,12 @@ CUDAFLAGS
|
||||
|
||||
.. versionadded:: 3.8
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Add default compilation flags to be used when compiling ``CUDA`` files.
|
||||
|
||||
.. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_CUDA_FLAGS <CMAKE_<LANG>_FLAGS>`
|
||||
.. |LANG| replace:: ``CUDA``
|
||||
.. include:: LANG_FLAGS.txt
|
||||
.. include:: include/LANG_FLAGS.rst
|
||||
|
||||
See also :variable:`CMAKE_CUDA_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
||||
|
||||
@@ -3,7 +3,7 @@ CUDAHOSTCXX
|
||||
|
||||
.. versionadded:: 3.8
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Preferred executable for compiling host code when compiling ``CUDA``
|
||||
language files. Will only be used by CMake on the first configuration to
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
CXX
|
||||
---
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Preferred executable for compiling ``CXX`` language files. Will only be used by
|
||||
CMake on the first configuration to determine ``CXX`` compiler, after which the
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
CXXFLAGS
|
||||
--------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Add default compilation flags to be used when compiling ``CXX`` (C++) files.
|
||||
|
||||
.. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_CXX_FLAGS <CMAKE_<LANG>_FLAGS>`
|
||||
.. |LANG| replace:: ``CXX``
|
||||
.. include:: LANG_FLAGS.txt
|
||||
.. include:: include/LANG_FLAGS.rst
|
||||
|
||||
See also :variable:`CMAKE_CXX_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
DASHBOARD_TEST_FROM_CTEST
|
||||
-------------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Environment variable that will exist when a test executed by :manual:`ctest(1)`
|
||||
is run in non-interactive mode. The value will be equal to
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
DESTDIR
|
||||
-------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
On UNIX one can use the ``DESTDIR`` mechanism in order to relocate the
|
||||
whole installation. ``DESTDIR`` means DESTination DIRectory. It is
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
FC
|
||||
--
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Preferred executable for compiling ``Fortran`` language files. Will only be used
|
||||
by CMake on the first configuration to determine ``Fortran`` compiler, after
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
FFLAGS
|
||||
------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Add default compilation flags to be used when compiling ``Fortran`` files.
|
||||
|
||||
.. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_Fortran_FLAGS <CMAKE_<LANG>_FLAGS>`
|
||||
.. |LANG| replace:: ``Fortran``
|
||||
.. include:: LANG_FLAGS.txt
|
||||
.. include:: include/LANG_FLAGS.rst
|
||||
|
||||
See also :variable:`CMAKE_Fortran_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
||||
|
||||
@@ -3,7 +3,7 @@ HIPCXX
|
||||
|
||||
.. versionadded:: 3.21
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Preferred executable for compiling ``HIP`` language files. Will only be used by
|
||||
CMake on the first configuration to determine ``HIP`` compiler, after which the
|
||||
|
||||
@@ -3,12 +3,12 @@ HIPFLAGS
|
||||
|
||||
.. versionadded:: 3.21
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Add default compilation flags to be used when compiling ``HIP`` files.
|
||||
|
||||
.. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_HIP_FLAGS <CMAKE_<LANG>_FLAGS>`
|
||||
.. |LANG| replace:: ``HIP``
|
||||
.. include:: LANG_FLAGS.txt
|
||||
.. include:: include/LANG_FLAGS.rst
|
||||
|
||||
See also :variable:`CMAKE_HIP_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
||||
|
||||
@@ -3,7 +3,7 @@ HIPHOSTCXX
|
||||
|
||||
.. versionadded:: 3.28
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Preferred executable for compiling host code when compiling ``HIP``
|
||||
language files with the NVIDIA CUDA Compiler. Will only be used by CMake
|
||||
|
||||
@@ -3,7 +3,7 @@ ISPC
|
||||
|
||||
.. versionadded:: 3.19
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Preferred executable for compiling ``ISPC`` language files. Will only be used by
|
||||
CMake on the first configuration to determine ``ISPC`` compiler, after which the
|
||||
|
||||
@@ -3,12 +3,12 @@ ISPCFLAGS
|
||||
|
||||
.. versionadded:: 3.19
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Add default compilation flags to be used when compiling ``ISPC`` files.
|
||||
|
||||
.. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_ISPC_FLAGS <CMAKE_<LANG>_FLAGS>`
|
||||
.. |LANG| replace:: ``ISPC``
|
||||
.. include:: LANG_FLAGS.txt
|
||||
.. include:: include/LANG_FLAGS.rst
|
||||
|
||||
See also :variable:`CMAKE_ISPC_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
LDFLAGS
|
||||
-------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Will only be used by CMake on the first configuration to determine the default
|
||||
linker flags, after which the value for ``LDFLAGS`` is stored in the cache
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
MACOSX_DEPLOYMENT_TARGET
|
||||
------------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Specify the minimum version of macOS on which the target binaries are
|
||||
to be deployed.
|
||||
|
||||
@@ -3,7 +3,7 @@ OBJC
|
||||
|
||||
.. versionadded:: 3.16.7
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Preferred executable for compiling ``OBJC`` language files. Will only be used
|
||||
by CMake on the first configuration to determine ``OBJC`` compiler, after
|
||||
|
||||
@@ -3,12 +3,12 @@ OBJCFLAGS
|
||||
|
||||
.. versionadded:: 3.16
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Add default compilation flags to be used when compiling ``Objective C`` files.
|
||||
|
||||
.. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_OBJC_FLAGS <CMAKE_<LANG>_FLAGS>`
|
||||
.. |LANG| replace:: ``OBJC``
|
||||
.. include:: LANG_FLAGS.txt
|
||||
.. include:: include/LANG_FLAGS.rst
|
||||
|
||||
See also :variable:`CMAKE_OBJC_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
||||
|
||||
@@ -3,7 +3,7 @@ OBJCXX
|
||||
|
||||
.. versionadded:: 3.16.7
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Preferred executable for compiling ``OBJCXX`` language files. Will only be used
|
||||
by CMake on the first configuration to determine ``OBJCXX`` compiler, after
|
||||
|
||||
@@ -3,12 +3,12 @@ OBJCXXFLAGS
|
||||
|
||||
.. versionadded:: 3.16
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Add default compilation flags to be used when compiling ``Objective C++`` (.mm) files.
|
||||
|
||||
.. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_OBJCXX_FLAGS <CMAKE_<LANG>_FLAGS>`
|
||||
.. |LANG| replace:: ``OBJCXX``
|
||||
.. include:: LANG_FLAGS.txt
|
||||
.. include:: include/LANG_FLAGS.rst
|
||||
|
||||
See also :variable:`CMAKE_OBJCXX_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Calls to :command:`find_package(<PackageName>)` will search in prefixes
|
||||
specified by the ``<PackageName>_ROOT`` environment variable, where
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
RC
|
||||
--
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Preferred executable for compiling ``resource`` files. Will only be used by CMake
|
||||
on the first configuration to determine ``resource`` compiler, after which the
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
RCFLAGS
|
||||
-------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Add default compilation flags to be used when compiling ``RC`` (resource) files.
|
||||
|
||||
.. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_RC_FLAGS <CMAKE_<LANG>_FLAGS>`
|
||||
.. |LANG| replace:: ``RC``
|
||||
.. include:: LANG_FLAGS.txt
|
||||
.. include:: include/LANG_FLAGS.rst
|
||||
|
||||
See also :variable:`CMAKE_RC_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
||||
|
||||
@@ -3,7 +3,7 @@ SSL_CERT_DIR
|
||||
|
||||
.. versionadded:: 3.25
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Specify default directory containing CA certificates. It overrides
|
||||
the default CA directory used.
|
||||
|
||||
@@ -3,7 +3,7 @@ SSL_CERT_FILE
|
||||
|
||||
.. versionadded:: 3.25
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Specify the file name containing CA certificates. It overrides the
|
||||
default, os-specific CA file used.
|
||||
|
||||
@@ -3,7 +3,7 @@ SWIFTC
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
.. include:: include/ENV_VAR.rst
|
||||
|
||||
Preferred executable for compiling ``Swift`` language files. Will only be used by
|
||||
CMake on the first configuration to determine ``Swift`` compiler, after which the
|
||||
|
||||
Reference in New Issue
Block a user