diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2019-11-27 23:44:58 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2019-12-05 19:25:36 (GMT) |
commit | 6f48c59257e7baec2acd89015dde136931a72c7c (patch) | |
tree | 6e22fecb074b29d2d643ed1a349d0d217f667a63 /Help/variable | |
parent | 7046a5219893436cbe19b6973ac13fb489199601 (diff) | |
download | CMake-6f48c59257e7baec2acd89015dde136931a72c7c.zip CMake-6f48c59257e7baec2acd89015dde136931a72c7c.tar.gz CMake-6f48c59257e7baec2acd89015dde136931a72c7c.tar.bz2 |
launcher: support setting a compiler launcher through the environment
This makes it much easier to use a launcher for all CMake projects in an
environment rather than having to remember to pass the setting to every
CMake build.
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/CMAKE_LANG_COMPILER_LAUNCHER.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_LANG_COMPILER_LAUNCHER.rst b/Help/variable/CMAKE_LANG_COMPILER_LAUNCHER.rst index e6c8bb5..e5dda60 100644 --- a/Help/variable/CMAKE_LANG_COMPILER_LAUNCHER.rst +++ b/Help/variable/CMAKE_LANG_COMPILER_LAUNCHER.rst @@ -5,3 +5,6 @@ Default value for :prop_tgt:`<LANG>_COMPILER_LAUNCHER` target property. This variable is used to initialize the property on each target as it is created. This is done only when ``<LANG>`` is ``C``, ``CXX``, ``Fortran``, or ``CUDA``. + +This variable is initialized to the :envvar:`CMAKE_<LANG>_COMPILER_LAUNCHER` +environment variable if it is set. |