mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-28 02:31:32 +01:00
12 lines
286 B
CMake
12 lines
286 B
CMake
# Include directories and libraries
|
|
include_directories(../../../Common)
|
|
|
|
# Source file
|
|
set(SRC_FILES
|
|
simpleOccupancy.cu
|
|
)
|
|
|
|
# Add target for simpleOccupancy
|
|
add_executable(simpleOccupancy ${SRC_FILES})
|
|
set_target_properties(simpleOccupancy PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|