- Add PairPotential Abstract class - Add Lennard-Jones potential that should work with both CUDA and C++ code - Add tests on HOST side for LJ potential
16 lines
244 B
CMake
16 lines
244 B
CMake
project(${NAME}_lib CUDA CXX)
|
|
|
|
set(HEADER_FILES
|
|
particle.hpp
|
|
simulation.hpp
|
|
box.hpp
|
|
|
|
)
|
|
set(SOURCE_FILES
|
|
)
|
|
|
|
# The library contains header and source files.
|
|
add_library(${NAME}_lib INTERFACE
|
|
${HEADER_FILES}
|
|
${SOURCE_FILES}
|
|
)
|