| 1 |
if(GMP_FOUND) |
| 2 |
if(GMPXX_FOUND) |
| 3 |
if (TARGET Boost::program_options) |
| 4 |
add_executable ( performance_rips_persistence EXCLUDE_FROM_ALL performance_rips_persistence.cpp ) |
| 5 |
target_link_libraries(performance_rips_persistence Boost::program_options ${GMPXX_LIBRARIES} ${GMP_LIBRARIES}) |
| 6 |
if(TARGET TBB::tbb) |
| 7 |
target_link_libraries(performance_rips_persistence TBB::tbb) |
| 8 |
endif() |
| 9 |
file(COPY "${CMAKE_SOURCE_DIR}/data/points/Kl.off" DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/) |
| 10 |
endif() |
| 11 |
endif(GMPXX_FOUND) |
| 12 |
endif(GMP_FOUND) |
| 13 |
|
| 14 |
add_executable_with_targets(line line.cpp TBB::tbb) |
| 15 |
add_test(NAME Compare_pers_on_line COMMAND $<TARGET_FILE:line> 1000 10) |
| 16 |
|
| 17 |
add_executable_with_targets(persistence_2d persistence_2d.cpp TBB::tbb) |
| 18 |
add_test(NAME Compare_persistence_2d COMMAND $<TARGET_FILE:persistence_2d>) |