mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'cuda-compiler-launcher'
414438b2 CUDA: Add option to run the compiler through launcher tools
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !949
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<LANG>_COMPILER_LAUNCHER
|
||||
------------------------
|
||||
|
||||
This property is implemented only when ``<LANG>`` is ``C`` or ``CXX``.
|
||||
This property is implemented only when ``<LANG>`` is ``C``, ``CXX``,
|
||||
or ``CUDA``.
|
||||
|
||||
Specify a :ref:`;-list <CMake Language Lists>` containing a command line
|
||||
for a compiler launching tool. The :ref:`Makefile Generators` and the
|
||||
|
||||
8
Help/release/dev/cuda-compiler-launcher.rst
Normal file
8
Help/release/dev/cuda-compiler-launcher.rst
Normal file
@@ -0,0 +1,8 @@
|
||||
cuda-compiler-launcher
|
||||
----------------------
|
||||
|
||||
* The :ref:`Makefile Generators` and the :generator:`Ninja` generator learned
|
||||
to add compiler launcher tools like ccache along with the compiler for the
|
||||
``CUDA`` language (``C`` and ``CXX`` were supported previously). See the
|
||||
:variable:`CMAKE_<LANG>_COMPILER_LAUNCHER` variable and
|
||||
:prop_tgt:`<LANG>_COMPILER_LAUNCHER` target property for details.
|
||||
@@ -3,4 +3,4 @@ CMAKE_<LANG>_COMPILER_LAUNCHER
|
||||
|
||||
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`` or ``CXX``.
|
||||
created. This is done only when ``<LANG>`` is ``C``, ``CXX``, or ``CUDA``.
|
||||
|
||||
Reference in New Issue
Block a user