diff options
author | Bobby D Reynolds <boreynol@microsoft.com> | 2021-05-18 15:57:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-05-28 16:28:43 (GMT) |
commit | ae108418ae45aff7740605bb7add3843b050d226 (patch) | |
tree | 1b46b02e2c567538b0437fed2aef91564cd8f577 /Help/prop_tgt | |
parent | 92c8b83641eae61700d16602e0b60d9c9c6f3b15 (diff) | |
download | CMake-ae108418ae45aff7740605bb7add3843b050d226.zip CMake-ae108418ae45aff7740605bb7add3843b050d226.tar.gz CMake-ae108418ae45aff7740605bb7add3843b050d226.tar.bz2 |
Launchers: Support setting linker launchers
Fixes: #18316
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r-- | Help/prop_tgt/LANG_LINKER_LAUNCHER.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Help/prop_tgt/LANG_LINKER_LAUNCHER.rst b/Help/prop_tgt/LANG_LINKER_LAUNCHER.rst new file mode 100644 index 0000000..f6ca5ad --- /dev/null +++ b/Help/prop_tgt/LANG_LINKER_LAUNCHER.rst @@ -0,0 +1,16 @@ +<LANG>_LINKER_LAUNCHER +---------------------- + +.. versionadded:: 3.21 + +This property is implemented only when ``<LANG>`` is ``C``, ``CXX``, +``OBJC``, or ``OBJCXX`` + +Specify a :ref:`semicolon-separated list <CMake Language Lists>` containing a +command line for a linker launching tool. The :ref:`Makefile Generators` and the +:generator:`Ninja` generator will run this tool and pass the linker and its +arguments to the tool. This is useful for tools such as static analyzers. + +This property is initialized by the value of the +:variable:`CMAKE_<LANG>_LINKER_LAUNCHER` variable if it is set when a target is +created. |