summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCUDAInformation.cmake
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2017-07-13 15:00:40 (GMT)
committerRobert Maynard <robert.maynard@kitware.com>2017-07-13 15:23:16 (GMT)
commit712af07e4792beea6f3b62bddace9077d7fec525 (patch)
tree782a0b457f628427cc77f9130023bde4f124cd35 /Modules/CMakeCUDAInformation.cmake
parent25b72e9097260d1faf254155a1199886c808a58f (diff)
downloadCMake-712af07e4792beea6f3b62bddace9077d7fec525.zip
CMake-712af07e4792beea6f3b62bddace9077d7fec525.tar.gz
CMake-712af07e4792beea6f3b62bddace9077d7fec525.tar.bz2
CUDA: CMAKE_EXPORT_COMPILE_COMMANDS now works with CUDA and Ninja
Fixes: #17061
Diffstat (limited to 'Modules/CMakeCUDAInformation.cmake')
-rw-r--r--Modules/CMakeCUDAInformation.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/CMakeCUDAInformation.cmake b/Modules/CMakeCUDAInformation.cmake
index 780e953..9bba847 100644
--- a/Modules/CMakeCUDAInformation.cmake
+++ b/Modules/CMakeCUDAInformation.cmake
@@ -104,7 +104,9 @@ include(CMakeCommonLanguageInclude)
# now define the following rules:
# CMAKE_CUDA_CREATE_SHARED_LIBRARY
# CMAKE_CUDA_CREATE_SHARED_MODULE
-# CMAKE_CUDA_COMPILE_OBJECT
+# CMAKE_CUDA_COMPILE_WHOLE_COMPILATION
+# CMAKE_CUDA_COMPILE_PTX_COMPILATION
+# CMAKE_CUDA_COMPILE_SEPARABLE_COMPILATION
# CMAKE_CUDA_LINK_EXECUTABLE
if(CMAKE_CUDA_HOST_COMPILER)