summaryrefslogtreecommitdiff
path: root/src/Persistent_cohomology/benchmark/CMakeLists.txt
blob: 8b135ba11367647958f602655ba2ebc1fd606036 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cmake_minimum_required(VERSION 2.6)
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)