COIN-OR::LEMON - Graph Library

source: lemon-1.1/test/CMakeLists.txt @ 435:30d22b636e57

Last change on this file since 435:30d22b636e57 was 424:346991bf7ddd, checked in by Alpar Juttner <alpar@…>, 16 years ago

Update test/CMakeLists.txt and test/Makefile.am

File size: 631 bytes
Line 
1INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
2
3LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
4
5SET(TESTS
6  bfs_test
7  circulation_test
8  counter_test
9  dfs_test
10  digraph_test
11  dijkstra_test
12  dim_test
13  error_test
14  graph_adaptor_test
15  graph_copy_test
16  graph_test
17  graph_utils_test
18  hao_orlin_test
19  heap_test
20  kruskal_test
21  maps_test
22  max_matching_test
23  path_test
24  preflow_test
25  random_test
26  suurballe_test
27  time_measure_test
28  unionfind_test)
29
30FOREACH(TEST_NAME ${TESTS})
31  ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
32  TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
33  ADD_TEST(${TEST_NAME} ${TEST_NAME})
34ENDFOREACH(TEST_NAME)
Note: See TracBrowser for help on using the repository browser.