mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-25 01:01:23 +01:00
18 lines
431 B
CMake
18 lines
431 B
CMake
# Include directories and libraries
|
|
include_directories(../../../Common)
|
|
|
|
# Source file
|
|
set(SRC_FILES
|
|
convolutionTexture.cu
|
|
convolutionTexture_gold.cpp
|
|
main.cpp
|
|
)
|
|
|
|
# Add target for convolutionTexture
|
|
add_executable(convolutionTexture ${SRC_FILES})
|
|
set_target_properties(convolutionTexture PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
|
|
|
target_include_directories(convolutionTexture PUBLIC
|
|
${CUDAToolkit_INCLUDE_DIRS}
|
|
)
|