Last active
February 13, 2019 20:03
-
-
Save Ben1980/62a1af84f4d6bbd63634fe77e87ba117 to your computer and use it in GitHub Desktop.
Solver CMakeLists.txt file of n-body-project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_library(solver | |
SHARED | |
src/solver.cpp) | |
target_include_directories(solver | |
PUBLIC | |
include) | |
add_executable(solverTest | |
test/test-main.cpp | |
test/solverTest.cpp) | |
target_link_libraries(solverTest Catch | |
solver) | |
enable_testing() | |
add_test(NAME solverTest COMMAND solverTest) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment