diff options
author | Brad King <brad.king@kitware.com> | 2017-06-09 15:20:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-06-09 16:34:39 (GMT) |
commit | 414438b2fb5a43c447273b425b59cd982818457b (patch) | |
tree | 191e35f5092f645b9a56178c2f3fcbf37be06480 /Source/cmTarget.cxx | |
parent | 591557ba450f1f24610ea0eefcb4e1d7665fae25 (diff) | |
download | CMake-414438b2fb5a43c447273b425b59cd982818457b.zip CMake-414438b2fb5a43c447273b425b59cd982818457b.tar.gz CMake-414438b2fb5a43c447273b425b59cd982818457b.tar.bz2 |
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
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index c95a3ca..c1b6f97 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -276,6 +276,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type, this->SetPropertyDefault("CUDA_STANDARD", CM_NULLPTR); this->SetPropertyDefault("CUDA_STANDARD_REQUIRED", CM_NULLPTR); this->SetPropertyDefault("CUDA_EXTENSIONS", CM_NULLPTR); + this->SetPropertyDefault("CUDA_COMPILER_LAUNCHER", CM_NULLPTR); this->SetPropertyDefault("LINK_SEARCH_START_STATIC", CM_NULLPTR); this->SetPropertyDefault("LINK_SEARCH_END_STATIC", CM_NULLPTR); } |