mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 19:30:13 -06:00
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
5 lines
160 B
CMake
5 lines
160 B
CMake
enable_language(CUDA)
|
|
set(CMAKE_CUDA_COMPILER_LAUNCHER "${CMAKE_COMMAND};-E;env;USED_LAUNCHER=1")
|
|
set(CMAKE_VERBOSE_MAKEFILE TRUE)
|
|
add_executable(main main.cu)
|