cmake_minimum_required(VERSION 2.6) project(Bitmap_cubical_complex_utilities) add_executable ( cubical_complex_persistence cubical_complex_persistence.cpp ) if (TBB_FOUND) target_link_libraries(cubical_complex_persistence ${TBB_LIBRARIES}) endif() add_test(NAME Bitmap_cubical_complex_utility_persistence_one_sphere COMMAND $ "${CMAKE_SOURCE_DIR}/data/bitmap/CubicalOneSphere.txt") add_test(NAME Bitmap_cubical_complex_utility_persistence_two_sphere COMMAND $ "${CMAKE_SOURCE_DIR}/data/bitmap/CubicalTwoSphere.txt") add_executable ( periodic_cubical_complex_persistence periodic_cubical_complex_persistence.cpp ) if (TBB_FOUND) target_link_libraries(periodic_cubical_complex_persistence ${TBB_LIBRARIES}) endif() add_test(NAME Bitmap_cubical_complex_utility_periodic_boundary_conditions_2d_torus COMMAND $ "${CMAKE_SOURCE_DIR}/data/bitmap/2d_torus.txt") add_test(NAME Bitmap_cubical_complex_utility_periodic_boundary_conditions_3d_torus COMMAND $ "${CMAKE_SOURCE_DIR}/data/bitmap/3d_torus.txt") install(TARGETS cubical_complex_persistence DESTINATION bin) install(TARGETS periodic_cubical_complex_persistence DESTINATION bin)