summaryrefslogtreecommitdiff
path: root/src/Cech_complex/test/CMakeLists.txt
blob: 8db5117323675ea4892ec9f46d75435b621082e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cmake_minimum_required(VERSION 2.6)
project(Cech_complex_tests)

include(GUDHI_test_coverage)

add_executable ( Cech_complex_test_unit test_cech_complex.cpp )
target_link_libraries(Cech_complex_test_unit ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
if (TBB_FOUND)
  target_link_libraries(Cech_complex_test_unit ${TBB_LIBRARIES})
endif()

# Do not forget to copy test files in current binary dir
file(COPY "${CMAKE_SOURCE_DIR}/data/points/alphacomplexdoc.off" DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)

gudhi_add_coverage_test(Cech_complex_test_unit)