Update CMakeFiles, add initial pair potential implementation and tests
This commit is contained in:
parent
6162b27a89
commit
f15eb0cf51
9 changed files with 67 additions and 55 deletions
|
@ -1,4 +1,4 @@
|
|||
project(${CMAKE_PROJECT_NAME}_cuda_lib CUDA CXX)
|
||||
project(${NAME}_cuda_lib CUDA CXX)
|
||||
|
||||
set(HEADER_FILES
|
||||
hello_world.h
|
||||
|
@ -8,11 +8,9 @@ set(SOURCE_FILES
|
|||
)
|
||||
|
||||
# The library contains header and source files.
|
||||
add_library(${CMAKE_PROJECT_NAME}_cuda_lib STATIC
|
||||
add_library(${NAME}_cuda_lib STATIC
|
||||
${SOURCE_FILES}
|
||||
${HEADER_FILES}
|
||||
)
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
target_compile_options(${CMAKE_PROJECT_NAME}_cuda_lib PRIVATE -Wno-gnu-line-marker)
|
||||
endif()
|
||||
target_compile_options(${CMAKE_PROJECT_NAME}_cuda_lib PRIVATE -Wno-gnu-line-marker -Wno-pedantic)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue