test/CMakeLists.txt
author Balazs Dezso <deba@inf.elte.hu>
Wed, 02 Jul 2008 10:37:14 +0200
changeset 186 9159de5e9657
parent 170 91fb4372688f
child 200 c0e2c043c060
permissions -rw-r--r--
Improvments in map name handling

- The label map is not necessary
- If the item set is empty and no map is read, then the map name line can
be ommited
ladanyi@141
     1
include_directories (${LEMON_SOURCE_DIR})
ladanyi@141
     2
ladanyi@141
     3
link_directories (${LEMON_BINARY_DIR}/lemon)
ladanyi@141
     4
ladanyi@141
     5
set (TESTS
ladanyi@141
     6
  bfs_test
ladanyi@141
     7
  counter_test
ladanyi@141
     8
  dfs_test
ladanyi@141
     9
  digraph_test
kpeter@170
    10
  dijkstra_test
ladanyi@141
    11
  dim_test
ladanyi@141
    12
  error_test
ladanyi@141
    13
  graph_test
kpeter@171
    14
  graph_utils_test
ladanyi@141
    15
  kruskal_test
ladanyi@141
    16
  maps_test
kpeter@171
    17
  path_test
ladanyi@141
    18
  random_test
ladanyi@141
    19
  time_measure_test
ladanyi@141
    20
  unionfind_test)
ladanyi@141
    21
ladanyi@141
    22
foreach (TEST_NAME ${TESTS})
ladanyi@141
    23
  add_executable (${TEST_NAME} ${TEST_NAME}.cc)
ladanyi@141
    24
  target_link_libraries (${TEST_NAME} lemon)
ladanyi@141
    25
  add_test(${TEST_NAME} ${TEST_NAME})
ladanyi@141
    26
endforeach (TEST_NAME)