summaryrefslogtreecommitdiff
path: root/src/Skeleton_blocker/example/CMakeLists.txt
blob: ce51ac397ba4b8e5836c32784bab294d09426d5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cmake_minimum_required(VERSION 2.6)
project(Skeleton_blocker_examples)

add_executable(Skeleton_blocker_example_from_simplices Skeleton_blocker_from_simplices.cpp)
add_executable(Skeleton_blocker_example_iteration Skeleton_blocker_iteration.cpp)
add_executable(Skeleton_blocker_example_link Skeleton_blocker_link.cpp)

target_link_libraries(Skeleton_blocker_example_iteration ${Boost_TIMER_LIBRARY} ${Boost_SYSTEM_LIBRARY})

add_test(NAME Skeleton_blocker_example_from_simplices COMMAND $<TARGET_FILE:Skeleton_blocker_example_from_simplices>)
add_test(NAME Skeleton_blocker_example_iteration COMMAND $<TARGET_FILE:Skeleton_blocker_example_iteration>)
add_test(NAME Skeleton_blocker_example_link COMMAND $<TARGET_FILE:Skeleton_blocker_example_link>)

install(TARGETS Skeleton_blocker_example_from_simplices DESTINATION bin)
install(TARGETS Skeleton_blocker_example_iteration DESTINATION bin)
install(TARGETS Skeleton_blocker_example_link DESTINATION bin)