cudaCAC/kernels/CMakeLists.txt

17 lines
337 B
Text
Raw Normal View History

project(${NAME}_cuda_lib CUDA CXX)
2025-04-15 14:10:01 -04:00
set(HEADER_FILES
hello_world.h
)
set(SOURCE_FILES
hello_world.cu
)
# The library contains header and source files.
add_library(${NAME}_cuda_lib STATIC
2025-04-15 14:10:01 -04:00
${SOURCE_FILES}
${HEADER_FILES}
)
target_compile_options(${CMAKE_PROJECT_NAME}_cuda_lib PRIVATE -Wno-gnu-line-marker -Wno-pedantic)