7 lines
296 B
CMake
Raw Normal View History

2022-11-16 20:14:03 +01:00
# Set CMAKE_CUDA_SEPARABLE_COMPILATION before `project`
# so we verify that compiler/linker verbose extraction
# works as required when a `dlink` is part of it
2020-02-01 23:06:01 +01:00
set(CMAKE_CUDA_SEPARABLE_COMPILATION ON)
2022-11-16 20:14:03 +01:00
project(SeparableCompCXXOnly LANGUAGES CXX CUDA)
2020-02-01 23:06:01 +01:00
add_executable(SeparableCompCXXOnly main.cpp)