summaryrefslogtreecommitdiff
path: root/src/Persistent_cohomology/benchmark/CMakeLists.txt
blob: 2bb3b0c70fc4cca7b7b56f6f9db760f2f7641f91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
project(Persistent_cohomology_benchmark)
  
if(GMP_FOUND)
   if(GMPXX_FOUND)
      add_executable ( performance_rips_persistence EXCLUDE_FROM_ALL performance_rips_persistence.cpp )
      target_link_libraries(performance_rips_persistence ${Boost_PROGRAM_OPTIONS_LIBRARY} ${GMPXX_LIBRARIES} ${GMP_LIBRARIES})
      if (TBB_FOUND)
        target_link_libraries(performance_rips_persistence ${TBB_LIBRARIES})
      endif(TBB_FOUND)
      file(COPY "${CMAKE_SOURCE_DIR}/data/points/Kl.off" DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)
   endif(GMPXX_FOUND)
endif(GMP_FOUND)