diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-02-20 16:03:52 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-02-20 16:03:52 +0000 |
commit | 0586a149b5bb3a4b65b63b2ab7d3ecdd9682ee1b (patch) | |
tree | d982ba2389a24fbccc92d6a6d147c5e323bd4f5d /src/Cech_complex/utilities/CMakeLists.txt | |
parent | 4a91726c9500e4b7ffe469192aa1140650c3d094 (diff) |
tests and utils fix
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/cechcomplex_vincent@3253 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 5786a8a7e4b16750f29fac99ca61926158542cfd
Diffstat (limited to 'src/Cech_complex/utilities/CMakeLists.txt')
-rw-r--r-- | src/Cech_complex/utilities/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Cech_complex/utilities/CMakeLists.txt b/src/Cech_complex/utilities/CMakeLists.txt new file mode 100644 index 00000000..a4f89d2c --- /dev/null +++ b/src/Cech_complex/utilities/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 2.6) +project(Cech_complex_utilities) + +add_executable(cech_persistence cech_persistence.cpp) +target_link_libraries(cech_persistence ${Boost_PROGRAM_OPTIONS_LIBRARY}) + +if (TBB_FOUND) + target_link_libraries(cech_persistence ${TBB_LIBRARIES}) +endif() + +add_test(NAME Cech_complex_utility_from_rips_on_tore_3D COMMAND $<TARGET_FILE:cech_persistence> + "${CMAKE_SOURCE_DIR}/data/points/tore3D_1307.off" "-r" "0.25" "-m" "0.5" "-d" "3" "-p" "3") + +install(TARGETS cech_persistence DESTINATION bin) |