add_executable ( plot_histogram_of_intervals_lengths plot_histogram_of_intervals_lengths.cpp ) add_test(NAME Persistence_representation_utilities_plot_histogram_of_intervals_lengths COMMAND $ "${CMAKE_CURRENT_BINARY_DIR}/../first.pers" "-1") install(TARGETS plot_histogram_of_intervals_lengths DESTINATION bin) add_persistence_representation_plot_utility(plot_histogram_of_intervals_lengths plot_persistence_intervals "") add_persistence_representation_plot_utility(plot_histogram_of_intervals_lengths plot_persistence_Betti_numbers "") add_persistence_representation_creation_utility(compute_birth_death_range_in_persistence_diagram "-1") add_executable ( compute_number_of_dominant_intervals compute_number_of_dominant_intervals.cpp ) add_test(NAME Persistence_representation_utilities_compute_number_of_dominant_intervals COMMAND $ "${CMAKE_CURRENT_BINARY_DIR}/../first.pers" "-1" "2") install(TARGETS compute_number_of_dominant_intervals DESTINATION bin) add_executable_with_targets(compute_bottleneck_distance compute_bottleneck_distance.cpp CGAL::CGAL Eigen3::Eigen TBB::tbb) if(TARGET CGAL::CGAL AND TARGET Eigen3::Eigen) add_test(NAME Persistence_representation_utilities_compute_bottleneck_distance COMMAND $ "-1" "${CMAKE_CURRENT_BINARY_DIR}/../first.pers" "${CMAKE_CURRENT_BINARY_DIR}/../second.pers") install(TARGETS compute_bottleneck_distance DESTINATION bin) endif()