mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2025-07-03 16:05:25 +08:00
qt 6.5.3
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
ADSP_ROOT
|
||||
---------
|
||||
|
||||
.. versionadded:: 3.24
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
The ``ADSP_ROOT`` environment variable specifies a default value
|
||||
for the :variable:`CMAKE_ADSP_ROOT` variable when there is no explicit
|
||||
configuration given on the first run while creating a new build tree.
|
@ -0,0 +1,28 @@
|
||||
ASM<DIALECT>
|
||||
------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Preferred executable for compiling a specific dialect of assembly language
|
||||
files. ``ASM<DIALECT>`` can be one of:
|
||||
|
||||
* ``ASM``
|
||||
* ``ASM_NASM`` (Netwide Assembler)
|
||||
* ``ASM_MASM`` (Microsoft Assembler)
|
||||
* ``ASM_MARMASM`` (Microsoft ARM Assembler)
|
||||
* ``ASM-ATT`` (Assembler AT&T)
|
||||
|
||||
Will only be used by CMake on the first configuration to determine
|
||||
``ASM<DIALECT>`` compiler, after which the value for ``ASM<DIALECT>`` is stored
|
||||
in the cache as
|
||||
:variable:`CMAKE_ASM<DIALECT>_COMPILER <CMAKE_<LANG>_COMPILER>`. For subsequent
|
||||
configuration runs, the environment variable will be ignored in favor of
|
||||
:variable:`CMAKE_ASM<DIALECT>_COMPILER <CMAKE_<LANG>_COMPILER>`.
|
||||
|
||||
.. note::
|
||||
Options that are required to make the compiler work correctly can be included;
|
||||
they can not be changed.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ export ASM="custom-compiler --arg1 --arg2"
|
@ -0,0 +1,19 @@
|
||||
ASM<DIALECT>FLAGS
|
||||
-----------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Add default compilation flags to be used when compiling a specific dialect
|
||||
of an assembly language. ``ASM<DIALECT>FLAGS`` can be one of:
|
||||
|
||||
* ``ASMFLAGS``
|
||||
* ``ASM_NASMFLAGS``
|
||||
* ``ASM_MASMFLAGS``
|
||||
* ``ASM_MARMASMFLAGS``
|
||||
* ``ASM-ATTFLAGS``
|
||||
|
||||
.. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_ASM<DIALECT>_FLAGS <CMAKE_<LANG>_FLAGS>`
|
||||
.. |LANG| replace:: ``ASM<DIALECT>``
|
||||
.. include:: LANG_FLAGS.txt
|
||||
|
||||
See also :variable:`CMAKE_ASM<DIALECT>_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
19
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/CC.rst
Normal file
19
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/CC.rst
Normal file
@ -0,0 +1,19 @@
|
||||
CC
|
||||
--
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Preferred executable for compiling ``C`` language files. Will only be used by
|
||||
CMake on the first configuration to determine ``C`` compiler, after which the
|
||||
value for ``CC`` is stored in the cache as
|
||||
:variable:`CMAKE_C_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration run
|
||||
(including the first), the environment variable will be ignored if the
|
||||
:variable:`CMAKE_C_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.
|
||||
|
||||
.. note::
|
||||
Options that are required to make the compiler work correctly can be included;
|
||||
they can not be changed.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ export CC="custom-compiler --arg1 --arg2"
|
@ -0,0 +1,36 @@
|
||||
CCMAKE_COLORS
|
||||
-------------
|
||||
|
||||
.. versionadded:: 3.18
|
||||
|
||||
Determines what colors are used by the CMake curses interface,
|
||||
when run on a terminal that supports colors.
|
||||
The syntax follows the same conventions as ``LS_COLORS``;
|
||||
that is, a list of key/value pairs separated by ``:``.
|
||||
|
||||
Keys are a single letter corresponding to a CMake cache variable type:
|
||||
|
||||
- ``s``: A ``STRING``.
|
||||
- ``p``: A ``FILEPATH``.
|
||||
- ``c``: A value which has an associated list of choices.
|
||||
- ``y``: A ``BOOL`` which has a true-like value (e.g. ``ON``, ``YES``).
|
||||
- ``n``: A ``BOOL`` which has a false-like value (e.g. ``OFF``, ``NO``).
|
||||
|
||||
Values are an integer number that specifies what color to use.
|
||||
``0`` is black (you probably don't want to use that).
|
||||
Others are determined by your terminal's color support.
|
||||
Most (color) terminals will support at least 8 or 16 colors.
|
||||
Some will support up to 256 colors. The colors will likely match
|
||||
`this chart <https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg>`_,
|
||||
although the first 16 colors may match the original
|
||||
`CGA color palette <https://en.wikipedia.org/wiki/Color_Graphics_Adapter#Color_palette>`_.
|
||||
(Many modern terminal emulators also allow their color palette,
|
||||
at least for the first 16 colors, to be configured by the user.)
|
||||
|
||||
Note that fairly minimal checking is done for bad colors
|
||||
(although a value higher than what curses believes your terminal supports
|
||||
will be silently ignored) or bad syntax.
|
||||
|
||||
For example::
|
||||
|
||||
CCMAKE_COLORS='s=39:p=220:c=207:n=196:y=46'
|
12
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/CFLAGS.rst
Normal file
12
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/CFLAGS.rst
Normal file
@ -0,0 +1,12 @@
|
||||
CFLAGS
|
||||
------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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
|
||||
|
||||
See also :variable:`CMAKE_C_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
@ -0,0 +1,14 @@
|
||||
CMAKE_APPBUNDLE_PATH
|
||||
--------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
The ``CMAKE_APPBUNDLE_PATH`` environment variable may be set to a list of
|
||||
directories to be searched for macOS application bundles
|
||||
by the :command:`find_program` and :command:`find_package` commands.
|
||||
|
||||
This variable may hold a single directory or a list of directories separated
|
||||
by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
|
||||
variable convention on those platforms).
|
||||
|
||||
See also the :variable:`CMAKE_APPBUNDLE_PATH` CMake variable.
|
@ -0,0 +1,13 @@
|
||||
CMAKE_APPLE_SILICON_PROCESSOR
|
||||
-----------------------------
|
||||
|
||||
.. versionadded:: 3.19.2
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
On Apple Silicon hosts running macOS, set this environment variable to tell
|
||||
CMake what architecture to use for :variable:`CMAKE_HOST_SYSTEM_PROCESSOR`.
|
||||
The value must be either ``arm64`` or ``x86_64``.
|
||||
|
||||
The :variable:`CMAKE_APPLE_SILICON_PROCESSOR` normal variable, if set,
|
||||
overrides this environment variable.
|
@ -0,0 +1,13 @@
|
||||
CMAKE_BUILD_PARALLEL_LEVEL
|
||||
--------------------------
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Specifies the maximum number of concurrent processes to use when building
|
||||
using the ``cmake --build`` command line
|
||||
:ref:`Build Tool Mode <Build Tool Mode>`.
|
||||
|
||||
If this variable is defined empty the native build tool's default number is
|
||||
used.
|
@ -0,0 +1,10 @@
|
||||
CMAKE_BUILD_TYPE
|
||||
----------------
|
||||
|
||||
.. versionadded:: 3.22
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
The ``CMAKE_BUILD_TYPE`` environment variable specifies a default value
|
||||
for the :variable:`CMAKE_BUILD_TYPE` variable when there is no explicit
|
||||
configuration given on the first run while creating a new build tree.
|
@ -0,0 +1,9 @@
|
||||
CMAKE_COLOR_DIAGNOSTICS
|
||||
-----------------------
|
||||
|
||||
.. versionadded:: 3.24
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Specifies a default value for the :variable:`CMAKE_COLOR_DIAGNOSTICS` variable
|
||||
when there is no explicit value given on the first run.
|
@ -0,0 +1,11 @@
|
||||
CMAKE_CONFIGURATION_TYPES
|
||||
-------------------------
|
||||
|
||||
.. versionadded:: 3.22
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
The ``CMAKE_CONFIGURATION_TYPES`` environment variable specifies a
|
||||
default value for the :variable:`CMAKE_CONFIGURATION_TYPES` variable
|
||||
when there is no explicit configuration given on the first run while
|
||||
creating a new build tree.
|
@ -0,0 +1,7 @@
|
||||
CMAKE_CONFIG_TYPE
|
||||
-----------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
The default build configuration for :ref:`Build Tool Mode` and
|
||||
``ctest`` build handler when there is no explicit configuration given.
|
@ -0,0 +1,11 @@
|
||||
CMAKE_EXPORT_COMPILE_COMMANDS
|
||||
-----------------------------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
The default value for :variable:`CMAKE_EXPORT_COMPILE_COMMANDS` when there
|
||||
is no explicit configuration given on the first run while creating a new
|
||||
build tree. On later runs in an existing build tree the value persists in
|
||||
the cache as :variable:`CMAKE_EXPORT_COMPILE_COMMANDS`.
|
@ -0,0 +1,15 @@
|
||||
CMAKE_FRAMEWORK_PATH
|
||||
--------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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`,
|
||||
:command:`find_package`, :command:`find_path` and :command:`find_file` commands.
|
||||
|
||||
|
||||
This variable may hold a single directory or a list of directories separated
|
||||
by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
|
||||
variable convention on those platforms).
|
||||
|
||||
See also the :variable:`CMAKE_FRAMEWORK_PATH` CMake variable.
|
@ -0,0 +1,18 @@
|
||||
CMAKE_GENERATOR
|
||||
---------------
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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
|
||||
known by CMake, the internal default is used. Either way the resulting
|
||||
generator selection is stored in the :variable:`CMAKE_GENERATOR` variable.
|
||||
|
||||
Some generators may be additionally configured using the environment
|
||||
variables:
|
||||
|
||||
* :envvar:`CMAKE_GENERATOR_PLATFORM`
|
||||
* :envvar:`CMAKE_GENERATOR_TOOLSET`
|
||||
* :envvar:`CMAKE_GENERATOR_INSTANCE`
|
@ -0,0 +1,9 @@
|
||||
CMAKE_GENERATOR_INSTANCE
|
||||
------------------------
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Default value for :variable:`CMAKE_GENERATOR_INSTANCE` if no Cache entry is
|
||||
present. This value is only applied if :envvar:`CMAKE_GENERATOR` is set.
|
@ -0,0 +1,10 @@
|
||||
CMAKE_GENERATOR_PLATFORM
|
||||
------------------------
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Default value for :variable:`CMAKE_GENERATOR_PLATFORM` if no Cache entry
|
||||
is present and no value is specified by :option:`cmake -A` option.
|
||||
This value is only applied if :envvar:`CMAKE_GENERATOR` is set.
|
@ -0,0 +1,10 @@
|
||||
CMAKE_GENERATOR_TOOLSET
|
||||
-----------------------
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Default value for :variable:`CMAKE_GENERATOR_TOOLSET` if no Cache entry
|
||||
is present and no value is specified by :option:`cmake -T` option.
|
||||
This value is only applied if :envvar:`CMAKE_GENERATOR` is set.
|
@ -0,0 +1,13 @@
|
||||
CMAKE_INCLUDE_PATH
|
||||
------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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.
|
||||
|
||||
This variable may hold a single directory or a list of directories separated
|
||||
by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
|
||||
variable convention on those platforms).
|
||||
|
||||
See also the :variable:`CMAKE_INCLUDE_PATH` CMake variable.
|
@ -0,0 +1,116 @@
|
||||
CMAKE_INSTALL_MODE
|
||||
------------------
|
||||
|
||||
.. versionadded:: 3.22
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
The ``CMAKE_INSTALL_MODE`` environment variable allows users to operate
|
||||
CMake in an alternate mode of :command:`file(INSTALL)` and :command:`install()`.
|
||||
|
||||
The default behavior for an installation is to copy a source file from a
|
||||
source directory into a destination directory. This environment variable
|
||||
however allows the user to override this behavior, causing CMake to create
|
||||
symbolic links instead.
|
||||
|
||||
Usage Scenarios
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
Installing symbolic links rather than copying files can help in the following
|
||||
ways:
|
||||
|
||||
* Conserving storage space because files do not have to be duplicated on disk.
|
||||
* Changes to the source of the symbolic link are seen at the install
|
||||
destination without having to re-run the install step.
|
||||
* Editing through the link at the install destination will modify the source
|
||||
of the link. This may be useful when dealing with CMake project hierarchies,
|
||||
i.e. using :module:`ExternalProject` and consistent source navigation and
|
||||
refactoring is desired across projects.
|
||||
|
||||
Allowed Values
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
The following values are allowed for ``CMAKE_INSTALL_MODE``:
|
||||
|
||||
``COPY``, empty or unset
|
||||
Duplicate the file at its destination. This is the default behavior.
|
||||
|
||||
``ABS_SYMLINK``
|
||||
Create an *absolute* symbolic link to the source file at the destination.
|
||||
Halt with an error if the link cannot be created.
|
||||
|
||||
``ABS_SYMLINK_OR_COPY``
|
||||
Like ``ABS_SYMLINK`` but fall back to silently copying if the symlink
|
||||
couldn't be created.
|
||||
|
||||
``REL_SYMLINK``
|
||||
Create a *relative* symbolic link to the source file at the destination.
|
||||
Halt with an error if the link cannot be created.
|
||||
|
||||
``REL_SYMLINK_OR_COPY``
|
||||
Like ``REL_SYMLINK`` but fall back to silently copying if the symlink
|
||||
couldn't be created.
|
||||
|
||||
``SYMLINK``
|
||||
Try as if through ``REL_SYMLINK`` and fall back to ``ABS_SYMLINK`` if the
|
||||
referenced file cannot be expressed using a relative path.
|
||||
Halt with an error if the link cannot be created.
|
||||
|
||||
``SYMLINK_OR_COPY``
|
||||
Like ``SYMLINK`` but fall back to silently copying if the symlink couldn't
|
||||
be created.
|
||||
|
||||
.. note::
|
||||
A symbolic link consists of a reference file path rather than contents of its
|
||||
own, hence there are two ways to express the relation, either by a *relative*
|
||||
or an *absolute* path.
|
||||
|
||||
When To Set The Environment Variable
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
For the environment variable to take effect, it must be set during the correct
|
||||
build phase(s).
|
||||
|
||||
* If the project calls :command:`file(INSTALL)` directly, the environment
|
||||
variable must be set during the configuration phase.
|
||||
* In order to apply to :command:`install()`, the environment variable must be
|
||||
set during installation. This could be during a build if using the
|
||||
``install`` or ``package`` build targets, or separate from the build when
|
||||
invoking an install or running :manual:`cpack <cpack(1)>` from the command
|
||||
line.
|
||||
* When using :module:`ExternalProject`, it might be required during the build
|
||||
phase, since the external project's own configure, build and install steps
|
||||
will execute during the main project's build phase.
|
||||
|
||||
Given the above, it is recommended to set the environment variable consistently
|
||||
across all phases (configure, build and install).
|
||||
|
||||
Caveats
|
||||
^^^^^^^
|
||||
|
||||
Use this environment variable with caution. The following highlights some
|
||||
points to be considered:
|
||||
|
||||
* ``CMAKE_INSTALL_MODE`` only affects files, not directories.
|
||||
|
||||
* Symbolic links are not available on all platforms.
|
||||
|
||||
* The way this environment variable interacts with the install step of
|
||||
:module:`ExternalProject` is more complex. For further details, see that
|
||||
module's documentation.
|
||||
|
||||
* A symbolic link ties the destination to the source in a persistent way.
|
||||
Writing to either of the two affects both file system objects.
|
||||
This is in contrast to normal install behavior which only copies files as
|
||||
they were at the time the install was performed, with no enduring
|
||||
relationship between the source and destination of the install.
|
||||
|
||||
* Combining ``CMAKE_INSTALL_MODE`` with :prop_tgt:`IOS_INSTALL_COMBINED` is
|
||||
not supported.
|
||||
|
||||
* Changing ``CMAKE_INSTALL_MODE`` from what it was on a previous run can lead
|
||||
to unexpected results. Moving from a non-symlinking mode to a symlinking
|
||||
mode will discard any previous file at the destination, but the reverse is
|
||||
not true. Once a symlink exists at the destination, even if you switch to a
|
||||
non-symlink mode, the symlink will continue to exist at the destination and
|
||||
will not be replaced by an actual file.
|
@ -0,0 +1,12 @@
|
||||
CMAKE_<LANG>_COMPILER_LAUNCHER
|
||||
------------------------------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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
|
||||
is available through the cache setting of the variable of the same name. For
|
||||
any configuration run (including the first), the environment variable will be
|
||||
ignored if the :variable:`CMAKE_<LANG>_COMPILER_LAUNCHER` variable is defined.
|
@ -0,0 +1,13 @@
|
||||
CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE
|
||||
----------------------------------------------
|
||||
|
||||
.. versionadded:: 3.27
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
A :ref:`semicolon-separated list <CMake Language Lists>` of directories
|
||||
to exclude from the :variable:`CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES`
|
||||
variable when it is automatically detected from the ``<LANG>`` compiler.
|
||||
|
||||
This may be used to work around misconfigured compiler drivers that pass
|
||||
extraneous implicit link directories to their linker.
|
@ -0,0 +1,13 @@
|
||||
CMAKE_<LANG>_LINKER_LAUNCHER
|
||||
----------------------------
|
||||
|
||||
.. versionadded:: 3.21
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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.
|
||||
Afterwards, it is available through the cache setting of the variable of the
|
||||
same name. For any configuration run (including the first), the environment
|
||||
variable will be ignored if the :variable:`CMAKE_<LANG>_LINKER_LAUNCHER`
|
||||
variable is defined.
|
@ -0,0 +1,13 @@
|
||||
CMAKE_LIBRARY_PATH
|
||||
------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
The ``CMAKE_LIBRARY_PATH`` environment variable may be set to a list of
|
||||
directories to be searched by the :command:`find_library` command.
|
||||
|
||||
This variable may hold a single directory or a list of directories separated
|
||||
by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
|
||||
variable convention on those platforms).
|
||||
|
||||
See also the :variable:`CMAKE_LIBRARY_PATH` CMake variable.
|
@ -0,0 +1,10 @@
|
||||
CMAKE_MAXIMUM_RECURSION_DEPTH
|
||||
-----------------------------
|
||||
|
||||
.. versionadded:: 3.27
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Maximum recursion depth for CMake scripts. This environment variable is
|
||||
used if the :variable:`CMAKE_MAXIMUM_RECURSION_DEPTH` variable is not set.
|
||||
See that variable's documentation for details.
|
@ -0,0 +1,10 @@
|
||||
CMAKE_MSVCIDE_RUN_PATH
|
||||
----------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Extra PATH locations for custom commands when using
|
||||
:generator:`Visual Studio 9 2008` (or above) generators.
|
||||
|
||||
The ``CMAKE_MSVCIDE_RUN_PATH`` environment variable sets the default value for
|
||||
the :variable:`CMAKE_MSVCIDE_RUN_PATH` variable if not already explicitly set.
|
@ -0,0 +1,10 @@
|
||||
CMAKE_NO_VERBOSE
|
||||
----------------
|
||||
|
||||
.. versionadded:: 3.14
|
||||
|
||||
Disables verbose output from CMake when :envvar:`VERBOSE` environment variable
|
||||
is set.
|
||||
|
||||
Only your build tool of choice will still print verbose output when you start
|
||||
to actually build your project.
|
@ -0,0 +1,10 @@
|
||||
CMAKE_OSX_ARCHITECTURES
|
||||
-----------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Target specific architectures for macOS.
|
||||
|
||||
The ``CMAKE_OSX_ARCHITECTURES`` environment variable sets the default value for
|
||||
the :variable:`CMAKE_OSX_ARCHITECTURES` variable. See
|
||||
:prop_tgt:`OSX_ARCHITECTURES` for more information.
|
@ -0,0 +1,17 @@
|
||||
CMAKE_PREFIX_PATH
|
||||
-----------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
The ``CMAKE_PREFIX_PATH`` environment variable may be set to a list of
|
||||
directories specifying installation *prefixes* to be searched by the
|
||||
:command:`find_package`, :command:`find_program`, :command:`find_library`,
|
||||
:command:`find_file`, and :command:`find_path` commands. Each command will
|
||||
add appropriate subdirectories (like ``bin``, ``lib``, or ``include``)
|
||||
as specified in its own documentation.
|
||||
|
||||
This variable may hold a single prefix or a list of prefixes separated
|
||||
by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
|
||||
variable convention on those platforms).
|
||||
|
||||
See also the :variable:`CMAKE_PREFIX_PATH` CMake variable.
|
@ -0,0 +1,13 @@
|
||||
CMAKE_PROGRAM_PATH
|
||||
------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
The ``CMAKE_PROGRAM_PATH`` environment variable may be set to a list of
|
||||
directories to be searched by the :command:`find_program` command.
|
||||
|
||||
This variable may hold a single directory or a list of directories separated
|
||||
by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
|
||||
variable convention on those platforms).
|
||||
|
||||
See also the :variable:`CMAKE_PROGRAM_PATH` CMake variable.
|
@ -0,0 +1,12 @@
|
||||
CMAKE_TOOLCHAIN_FILE
|
||||
--------------------
|
||||
|
||||
.. versionadded:: 3.21
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
The ``CMAKE_TOOLCHAIN_FILE`` environment variable specifies a default value
|
||||
for the :variable:`CMAKE_TOOLCHAIN_FILE` variable when there is no explicit
|
||||
configuration given on the first run while creating a new build tree.
|
||||
On later runs in an existing build tree the value persists in the cache
|
||||
as :variable:`CMAKE_TOOLCHAIN_FILE`.
|
14
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/CSFLAGS.rst
Normal file
14
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/CSFLAGS.rst
Normal file
@ -0,0 +1,14 @@
|
||||
CSFLAGS
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.9.2
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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
|
||||
|
||||
See also :variable:`CMAKE_CSharp_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
@ -0,0 +1,7 @@
|
||||
CTEST_INTERACTIVE_DEBUG_MODE
|
||||
----------------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Environment variable that will exist and be set to ``1`` when a test executed
|
||||
by :manual:`ctest(1)` is run in interactive mode.
|
@ -0,0 +1,14 @@
|
||||
CTEST_NO_TESTS_ACTION
|
||||
---------------------
|
||||
|
||||
.. versionadded:: 3.26
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Environment variable that controls how :manual:`ctest <ctest(1)>` handles
|
||||
cases when there are no tests to run. Possible values are: ``error``,
|
||||
``ignore``, empty or unset.
|
||||
|
||||
The :option:`--no-tests=\<action\> <ctest --no-tests>` option to
|
||||
:manual:`ctest <ctest(1)>` overrides this environment variable if both
|
||||
are given.
|
@ -0,0 +1,9 @@
|
||||
CTEST_OUTPUT_ON_FAILURE
|
||||
-----------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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.
|
||||
See :manual:`ctest(1)` for more information on controlling output of failed
|
||||
tests.
|
@ -0,0 +1,7 @@
|
||||
CTEST_PARALLEL_LEVEL
|
||||
--------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Specify the number of tests for CTest to run in parallel. See :manual:`ctest(1)`
|
||||
for more information on parallel test execution.
|
@ -0,0 +1,18 @@
|
||||
CTEST_PROGRESS_OUTPUT
|
||||
---------------------
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Boolean environment variable that affects how :manual:`ctest <ctest(1)>`
|
||||
command output reports overall progress. When set to ``1``, ``TRUE``, ``ON`` or anything
|
||||
else that evaluates to boolean true, progress is reported by repeatedly
|
||||
updating the same line. This greatly reduces the overall verbosity, but is
|
||||
only supported when output is sent directly to a terminal. If the environment
|
||||
variable is not set or has a value that evaluates to false, output is reported
|
||||
normally with each test having its own start and end lines logged to the
|
||||
output.
|
||||
|
||||
The :option:`--progress <ctest --progress>` option to :manual:`ctest <ctest(1)>`
|
||||
overrides this environment variable if both are given.
|
@ -0,0 +1,6 @@
|
||||
CTEST_USE_LAUNCHERS_DEFAULT
|
||||
---------------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Initializes the :variable:`CTEST_USE_LAUNCHERS` variable if not already defined.
|
@ -0,0 +1,12 @@
|
||||
CUDAARCHS
|
||||
---------
|
||||
|
||||
.. versionadded:: 3.20
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Value used to initialize :variable:`CMAKE_CUDA_ARCHITECTURES` on the first
|
||||
configuration. Subsequent runs will use the value stored in the cache.
|
||||
|
||||
This is a semicolon-separated list of architectures as described in
|
||||
:prop_tgt:`CUDA_ARCHITECTURES`.
|
21
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/CUDACXX.rst
Normal file
21
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/CUDACXX.rst
Normal file
@ -0,0 +1,21 @@
|
||||
CUDACXX
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.8
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Preferred executable for compiling ``CUDA`` language files. Will only be used by
|
||||
CMake on the first configuration to determine ``CUDA`` compiler, after which the
|
||||
value for ``CUDA`` is stored in the cache as
|
||||
:variable:`CMAKE_CUDA_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration
|
||||
run (including the first), the environment variable will be ignored if the
|
||||
:variable:`CMAKE_CUDA_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.
|
||||
|
||||
.. note::
|
||||
Options that are required to make the compiler work correctly can be included;
|
||||
they can not be changed.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ export CUDACXX="custom-compiler --arg1 --arg2"
|
@ -0,0 +1,14 @@
|
||||
CUDAFLAGS
|
||||
---------
|
||||
|
||||
.. versionadded:: 3.8
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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
|
||||
|
||||
See also :variable:`CMAKE_CUDA_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
@ -0,0 +1,23 @@
|
||||
CUDAHOSTCXX
|
||||
-----------
|
||||
|
||||
.. versionadded:: 3.8
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Preferred executable for compiling host code when compiling ``CUDA``
|
||||
language files. Will only be used by CMake on the first configuration to
|
||||
determine ``CUDA`` host compiler, after which the value for ``CUDAHOSTCXX`` is
|
||||
stored in the cache as :variable:`CMAKE_CUDA_HOST_COMPILER`. This environment
|
||||
variable is preferred over :variable:`CMAKE_CUDA_HOST_COMPILER`.
|
||||
|
||||
This environment variable is primarily meant for use with projects that
|
||||
enable ``CUDA`` as a first-class language.
|
||||
|
||||
.. note::
|
||||
|
||||
Ignored when using :ref:`Visual Studio Generators`.
|
||||
|
||||
.. versionadded:: 3.13
|
||||
The :module:`FindCUDA`
|
||||
module will use this variable to initialize its ``CUDA_HOST_COMPILER`` setting.
|
19
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/CXX.rst
Normal file
19
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/CXX.rst
Normal file
@ -0,0 +1,19 @@
|
||||
CXX
|
||||
---
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Preferred executable for compiling ``CXX`` language files. Will only be used by
|
||||
CMake on the first configuration to determine ``CXX`` compiler, after which the
|
||||
value for ``CXX`` is stored in the cache as
|
||||
:variable:`CMAKE_CXX_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration
|
||||
run (including the first), the environment variable will be ignored if the
|
||||
:variable:`CMAKE_CXX_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.
|
||||
|
||||
.. note::
|
||||
Options that are required to make the compiler work correctly can be included;
|
||||
they can not be changed.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ export CXX="custom-compiler --arg1 --arg2"
|
12
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/CXXFLAGS.rst
Normal file
12
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/CXXFLAGS.rst
Normal file
@ -0,0 +1,12 @@
|
||||
CXXFLAGS
|
||||
--------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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
|
||||
|
||||
See also :variable:`CMAKE_CXX_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
@ -0,0 +1,8 @@
|
||||
DASHBOARD_TEST_FROM_CTEST
|
||||
-------------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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
|
||||
:variable:`CMAKE_VERSION`.
|
31
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/DESTDIR.rst
Normal file
31
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/DESTDIR.rst
Normal file
@ -0,0 +1,31 @@
|
||||
DESTDIR
|
||||
-------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
On UNIX one can use the ``DESTDIR`` mechanism in order to relocate the
|
||||
whole installation. ``DESTDIR`` means DESTination DIRectory. It is
|
||||
commonly used by packagers to install software in a staging directory.
|
||||
|
||||
For example, running
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
make DESTDIR=/package/stage install
|
||||
|
||||
will install the software using the installation prefix, e.g. ``/usr/local``,
|
||||
prepended with the ``DESTDIR`` value which gives ``/package/stage/usr/local``.
|
||||
The packaging tool may then construct the package from the content of the
|
||||
``/package/stage`` directory.
|
||||
|
||||
See the :variable:`CMAKE_INSTALL_PREFIX` variable to control the
|
||||
installation prefix when configuring a build tree. Or, when using
|
||||
the :manual:`cmake(1)` command-line tool's :option:`--install <cmake --install>`
|
||||
mode, one may specify a different prefix using the
|
||||
:option:`--prefix <cmake--install --prefix>` option.
|
||||
|
||||
.. note::
|
||||
|
||||
``DESTDIR`` may not be used on Windows because installation
|
||||
prefix usually contains a drive letter like in ``C:/Program Files``
|
||||
which cannot be prepended with some other prefix.
|
@ -0,0 +1,3 @@
|
||||
This is a CMake :ref:`Environment Variable <CMake Language
|
||||
Environment Variables>`. Its initial value is taken from
|
||||
the calling process environment.
|
20
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/FC.rst
Normal file
20
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/FC.rst
Normal file
@ -0,0 +1,20 @@
|
||||
FC
|
||||
--
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Preferred executable for compiling ``Fortran`` language files. Will only be used
|
||||
by CMake on the first configuration to determine ``Fortran`` compiler, after
|
||||
which the value for ``Fortran`` is stored in the cache as
|
||||
:variable:`CMAKE_Fortran_COMPILER <CMAKE_<LANG>_COMPILER>`. For any
|
||||
configuration run (including the first), the environment variable will be
|
||||
ignored if the :variable:`CMAKE_Fortran_COMPILER <CMAKE_<LANG>_COMPILER>`
|
||||
variable is defined.
|
||||
|
||||
.. note::
|
||||
Options that are required to make the compiler work correctly can be included;
|
||||
they can not be changed.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ export FC="custom-compiler --arg1 --arg2"
|
12
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/FFLAGS.rst
Normal file
12
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/FFLAGS.rst
Normal file
@ -0,0 +1,12 @@
|
||||
FFLAGS
|
||||
------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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
|
||||
|
||||
See also :variable:`CMAKE_Fortran_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
13
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/HIPCXX.rst
Normal file
13
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/HIPCXX.rst
Normal file
@ -0,0 +1,13 @@
|
||||
HIPCXX
|
||||
------
|
||||
|
||||
.. versionadded:: 3.21
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Preferred executable for compiling ``HIP`` language files. Will only be used by
|
||||
CMake on the first configuration to determine ``HIP`` compiler, after which the
|
||||
value for ``HIP`` is stored in the cache as
|
||||
:variable:`CMAKE_HIP_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration
|
||||
run (including the first), the environment variable will be ignored if the
|
||||
:variable:`CMAKE_HIP_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.
|
14
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/HIPFLAGS.rst
Normal file
14
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/HIPFLAGS.rst
Normal file
@ -0,0 +1,14 @@
|
||||
HIPFLAGS
|
||||
--------
|
||||
|
||||
.. versionadded:: 3.21
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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
|
||||
|
||||
See also :variable:`CMAKE_HIP_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
13
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/ISPC.rst
Normal file
13
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/ISPC.rst
Normal file
@ -0,0 +1,13 @@
|
||||
ISPC
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.19
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Preferred executable for compiling ``ISPC`` language files. Will only be used by
|
||||
CMake on the first configuration to determine ``ISPC`` compiler, after which the
|
||||
value for ``ISPC`` is stored in the cache as
|
||||
:variable:`CMAKE_ISPC_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration
|
||||
run (including the first), the environment variable will be ignored if the
|
||||
:variable:`CMAKE_ISPC_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.
|
@ -0,0 +1,14 @@
|
||||
ISPCFLAGS
|
||||
---------
|
||||
|
||||
.. versionadded:: 3.19
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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
|
||||
|
||||
See also :variable:`CMAKE_ISPC_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
@ -0,0 +1,6 @@
|
||||
CMake uses this environment variable value, in combination with its own
|
||||
builtin default flags for the toolchain, to initialize and store the
|
||||
|CMAKE_LANG_FLAGS| cache entry.
|
||||
This occurs the first time a build tree is configured for language |LANG|.
|
||||
For any configuration run (including the first), the environment variable
|
||||
will be ignored if the |CMAKE_LANG_FLAGS| variable is already defined.
|
12
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/LDFLAGS.rst
Normal file
12
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/LDFLAGS.rst
Normal file
@ -0,0 +1,12 @@
|
||||
LDFLAGS
|
||||
-------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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
|
||||
as :variable:`CMAKE_EXE_LINKER_FLAGS_INIT`,
|
||||
:variable:`CMAKE_SHARED_LINKER_FLAGS_INIT`, and
|
||||
:variable:`CMAKE_MODULE_LINKER_FLAGS_INIT`. For any configuration run
|
||||
(including the first), the environment variable will be ignored if the
|
||||
equivalent ``CMAKE_<TYPE>_LINKER_FLAGS_INIT`` variable is defined.
|
@ -0,0 +1,10 @@
|
||||
MACOSX_DEPLOYMENT_TARGET
|
||||
------------------------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Specify the minimum version of macOS on which the target binaries are
|
||||
to be deployed.
|
||||
|
||||
The ``MACOSX_DEPLOYMENT_TARGET`` environment variable sets the default value for
|
||||
the :variable:`CMAKE_OSX_DEPLOYMENT_TARGET` variable.
|
16
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/OBJC.rst
Normal file
16
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/OBJC.rst
Normal file
@ -0,0 +1,16 @@
|
||||
OBJC
|
||||
----
|
||||
|
||||
.. versionadded:: 3.16.7
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Preferred executable for compiling ``OBJC`` language files. Will only be used
|
||||
by CMake on the first configuration to determine ``OBJC`` compiler, after
|
||||
which the value for ``OBJC`` is stored in the cache as
|
||||
:variable:`CMAKE_OBJC_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration
|
||||
run (including the first), the environment variable will be ignored if the
|
||||
:variable:`CMAKE_OBJC_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.
|
||||
|
||||
If ``OBJC`` is not defined, the :envvar:`CC` environment variable will
|
||||
be checked instead.
|
16
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/OBJCXX.rst
Normal file
16
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/OBJCXX.rst
Normal file
@ -0,0 +1,16 @@
|
||||
OBJCXX
|
||||
------
|
||||
|
||||
.. versionadded:: 3.16.7
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Preferred executable for compiling ``OBJCXX`` language files. Will only be used
|
||||
by CMake on the first configuration to determine ``OBJCXX`` compiler, after
|
||||
which the value for ``OBJCXX`` is stored in the cache as
|
||||
:variable:`CMAKE_OBJCXX_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration
|
||||
run (including the first), the environment variable will be ignored if the
|
||||
:variable:`CMAKE_OBJCXX_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.
|
||||
|
||||
If ``OBJCXX`` is not defined, the :envvar:`CXX` environment variable will
|
||||
be checked instead.
|
@ -0,0 +1,33 @@
|
||||
<PackageName>_ROOT
|
||||
------------------
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Calls to :command:`find_package(<PackageName>)` will search in prefixes
|
||||
specified by the ``<PackageName>_ROOT`` environment variable, where
|
||||
``<PackageName>`` is the (case-preserved) name given to the
|
||||
:command:`find_package` call and ``_ROOT`` is literal.
|
||||
For example, ``find_package(Foo)`` will search prefixes specified in the
|
||||
``Foo_ROOT`` environment variable (if set). See policy :policy:`CMP0074`.
|
||||
|
||||
This variable may hold a single prefix or a list of prefixes separated
|
||||
by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
|
||||
variable convention on those platforms).
|
||||
|
||||
See also the :variable:`<PackageName>_ROOT` CMake variable.
|
||||
|
||||
.. envvar:: <PACKAGENAME>_ROOT
|
||||
|
||||
.. versionadded:: 3.27
|
||||
|
||||
Calls to :command:`find_package(<PackageName>)` will also search in
|
||||
prefixes specified by the upper-case ``<PACKAGENAME>_ROOT`` environment
|
||||
variable. See policy :policy:`CMP0144`.
|
||||
|
||||
.. note::
|
||||
|
||||
Note that the ``<PackageName>_ROOT`` and ``<PACKAGENAME>_ROOT``
|
||||
environment variables are distinct only on platforms that have
|
||||
case-sensitive environments.
|
19
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/RC.rst
Normal file
19
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/RC.rst
Normal file
@ -0,0 +1,19 @@
|
||||
RC
|
||||
--
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Preferred executable for compiling ``resource`` files. Will only be used by CMake
|
||||
on the first configuration to determine ``resource`` compiler, after which the
|
||||
value for ``RC`` is stored in the cache as
|
||||
:variable:`CMAKE_RC_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration run
|
||||
(including the first), the environment variable will be ignored if the
|
||||
:variable:`CMAKE_RC_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.
|
||||
|
||||
.. note::
|
||||
Options that are required to make the compiler work correctly can be included;
|
||||
they can not be changed.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ export RC="custom-compiler --arg1 --arg2"
|
12
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/RCFLAGS.rst
Normal file
12
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/RCFLAGS.rst
Normal file
@ -0,0 +1,12 @@
|
||||
RCFLAGS
|
||||
-------
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
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
|
||||
|
||||
See also :variable:`CMAKE_RC_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
|
@ -0,0 +1,9 @@
|
||||
SSL_CERT_DIR
|
||||
------------
|
||||
|
||||
.. versionadded:: 3.25
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Specify default directory containing CA certificates. It overrides
|
||||
the default CA directory used.
|
@ -0,0 +1,9 @@
|
||||
SSL_CERT_FILE
|
||||
-------------
|
||||
|
||||
.. versionadded:: 3.25
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Specify the file name containing CA certificates. It overrides the
|
||||
default, os-specific CA file used.
|
21
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/SWIFTC.rst
Normal file
21
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/SWIFTC.rst
Normal file
@ -0,0 +1,21 @@
|
||||
SWIFTC
|
||||
------
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
.. include:: ENV_VAR.txt
|
||||
|
||||
Preferred executable for compiling ``Swift`` language files. Will only be used by
|
||||
CMake on the first configuration to determine ``Swift`` compiler, after which the
|
||||
value for ``SWIFTC`` is stored in the cache as
|
||||
:variable:`CMAKE_Swift_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration run
|
||||
(including the first), the environment variable will be ignored if the
|
||||
:variable:`CMAKE_Swift_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.
|
||||
|
||||
.. note::
|
||||
Options that are required to make the compiler work correctly can be included;
|
||||
they can not be changed.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ export SWIFTC="custom-compiler --arg1 --arg2"
|
12
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/VERBOSE.rst
Normal file
12
6.5.3/_tools/cmake/share/cmake-3.27/Help/envvar/VERBOSE.rst
Normal file
@ -0,0 +1,12 @@
|
||||
VERBOSE
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.14
|
||||
|
||||
Activates verbose output from CMake and your build tools of choice when
|
||||
you start to actually build your project.
|
||||
|
||||
Note that any given value is ignored. It's just checked for existence.
|
||||
|
||||
See also :ref:`Build Tool Mode <Build Tool Mode>` and
|
||||
:envvar:`CMAKE_NO_VERBOSE` environment variable
|
Reference in New Issue
Block a user