2025-04-16 23:06:50 -04:00
|
|
|
project(${NAME}_cuda_lib CUDA CXX)
|
2025-04-15 14:10:01 -04:00
|
|
|
|
|
|
|
set(HEADER_FILES
|
2025-04-17 16:07:26 -04:00
|
|
|
pair_potentials.cuh
|
2025-08-27 22:07:47 -04:00
|
|
|
forces.cuh
|
2025-04-15 14:10:01 -04:00
|
|
|
)
|
|
|
|
set(SOURCE_FILES
|
2025-08-27 22:07:47 -04:00
|
|
|
forces.cu
|
2025-04-15 14:10:01 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
# The library contains header and source files.
|
2025-08-27 22:07:47 -04:00
|
|
|
add_library(${NAME}_cuda_lib STATIC
|
2025-04-15 14:10:01 -04:00
|
|
|
${SOURCE_FILES}
|
|
|
|
${HEADER_FILES}
|
|
|
|
)
|
|
|
|
|