diff options
Diffstat (limited to 'wasserstein/tests/CMakeLists.txt')
-rw-r--r-- | wasserstein/tests/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/wasserstein/tests/CMakeLists.txt b/wasserstein/tests/CMakeLists.txt new file mode 100644 index 0000000..b379da2 --- /dev/null +++ b/wasserstein/tests/CMakeLists.txt @@ -0,0 +1,9 @@ +add_executable(wasserstein_test tests_main.cpp test_hera_wasserstein.cpp test_hera_wasserstein_pure_geom.cpp) +target_link_libraries(wasserstein_test PRIVATE ${libraries}) + +target_include_directories(tests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../include + ${CMAKE_CURRENT_SOURCE_DIR}../extern/Catch2/src) + +target_link_libraries(tests PRIVATE Catch2::Catch2WithMain) + +add_test(NAME all COMMAND wasserstein_test) |