CUDA: Add option to run the compiler through launcher tools

Add a `CUDA_COMPILER_LAUNCHER` target property like those added for C
and CXX by commit v3.4.0-rc1~450^2 (Add options to launch the compiler
through tools like ccache or distcc, 2015-06-04).

Fixes: #16953
This commit is contained in:
Brad King
2017-06-09 11:20:41 -04:00
parent 591557ba45
commit 414438b2fb
13 changed files with 42 additions and 9 deletions

View File

@@ -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``.