mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-25 09:11:30 +01:00
17 lines
380 B
CMake
17 lines
380 B
CMake
# Include directories and libraries
|
|
include_directories(../../../Common)
|
|
|
|
# Source file
|
|
set(SRC_FILES
|
|
jacobi.cu
|
|
main.cpp
|
|
)
|
|
|
|
# Add target for jacobiCudaGraphs
|
|
add_executable(jacobiCudaGraphs ${SRC_FILES})
|
|
set_target_properties(jacobiCudaGraphs PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
|
|
|
target_include_directories(jacobiCudaGraphs PRIVATE
|
|
${CUDAToolkit_INCLUDE_DIRS}
|
|
)
|