cmake_minimum_required(VERSION 2.6) project(Nerve_GIC_examples) if (NOT CGAL_VERSION VERSION_LESS 4.8.1) add_executable ( CoordGIC CoordGIC.cpp ) add_executable ( FuncGIC FuncGIC.cpp ) if (TBB_FOUND) target_link_libraries(CoordGIC ${TBB_LIBRARIES}) target_link_libraries(FuncGIC ${TBB_LIBRARIES}) endif() add_test(NAME Nerve_GIC_example_CoordGIC COMMAND $ "${CMAKE_SOURCE_DIR}/data/points/tore3D_1307.off" "0") add_test(NAME Nerve_GIC_example_FuncGIC COMMAND $ "${CMAKE_SOURCE_DIR}/data/points/COIL_database/lucky_cat.off" "${CMAKE_SOURCE_DIR}/data/points/COIL_database/lucky_cat_PCA1") endif (NOT CGAL_VERSION VERSION_LESS 4.8.1)