COIN-OR::LEMON - Graph Library

source: lemon-1.0/test/CMakeLists.txt @ 225:c5a40fc54f1a

Last change on this file since 225:c5a40fc54f1a was 225:c5a40fc54f1a, checked in by Alpar Juttner <alpar@…>, 12 years ago

CMake improvements.

  • documentation generation with Doxygen
  • installation support
File size: 522 bytes
RevLine 
[225]1INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
[141]2
[225]3LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
[141]4
[225]5SET(TESTS
[141]6  bfs_test
7  counter_test
8  dfs_test
9  digraph_test
[170]10  dijkstra_test
[141]11  dim_test
12  error_test
[200]13  graph_copy_test
[141]14  graph_test
[171]15  graph_utils_test
[203]16  heap_test
[141]17  kruskal_test
18  maps_test
[225]19  random_test
[171]20  path_test
[141]21  time_measure_test
22  unionfind_test)
23
[225]24FOREACH(TEST_NAME ${TESTS})
25  ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
26  TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
27  ADD_TEST(${TEST_NAME} ${TEST_NAME})
28ENDFOREACH(TEST_NAME)
Note: See TracBrowser for help on using the repository browser.