mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-29 11:03:08 +01:00
19 lines
400 B
CMake
19 lines
400 B
CMake
# Include directories and libraries
|
|
include_directories(../../../Common)
|
|
|
|
# Source file
|
|
set(SRC_FILES
|
|
sobol_gold.cpp
|
|
sobol_gpu.cu
|
|
sobol_primitives.cpp
|
|
sobol.cpp
|
|
)
|
|
|
|
# Add target for SobolQRNG
|
|
add_executable(SobolQRNG ${SRC_FILES})
|
|
set_target_properties(SobolQRNG PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
|
|
|
target_include_directories(SobolQRNG PRIVATE
|
|
${CUDAToolkit_INCLUDE_DIRS}
|
|
)
|