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)