mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-26 09:41:37 +01:00
13 lines
305 B
CMake
13 lines
305 B
CMake
# Include directories and libraries
|
|
include_directories(../../../Common)
|
|
|
|
# Source file
|
|
set(SRC_FILES
|
|
simpleCallback.cu
|
|
multithreading.cpp
|
|
)
|
|
|
|
# Add target for simpleCallback
|
|
add_executable(simpleCallback ${SRC_FILES})
|
|
set_target_properties(simpleCallback PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|