mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-10-16 01:48:58 +08:00
13 lines
300 B
CMake
13 lines
300 B
CMake
# Include directories and libraries
|
|
include_directories(../../../Common)
|
|
|
|
# Source file
|
|
set(SRC_FILES
|
|
BlackScholes.cu
|
|
BlackScholes_gold.cpp
|
|
)
|
|
|
|
# Add target for BlackScholes
|
|
add_executable(BlackScholes ${SRC_FILES})
|
|
set_target_properties(BlackScholes PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|