test/CMakeLists.txt
author Peter Kovacs <kpeter@inf.elte.hu>
Sat, 12 Jul 2008 10:21:44 +0200
changeset 204 77d56a21c3ab
parent 171 02f4d5d9bfd7
child 203 215bfc30b14f
permissions -rw-r--r--
Doc improvements related to ArgParser
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
deba@200
    13
  graph_copy_test
ladanyi@141
    14
  graph_test
kpeter@171
    15
  graph_utils_test
ladanyi@141
    16
  kruskal_test
ladanyi@141
    17
  maps_test
kpeter@171
    18
  path_test
ladanyi@141
    19
  random_test
ladanyi@141
    20
  time_measure_test
ladanyi@141
    21
  unionfind_test)
ladanyi@141
    22
ladanyi@141
    23
foreach (TEST_NAME ${TESTS})
ladanyi@141
    24
  add_executable (${TEST_NAME} ${TEST_NAME}.cc)
ladanyi@141
    25
  target_link_libraries (${TEST_NAME} lemon)
ladanyi@141
    26
  add_test(${TEST_NAME} ${TEST_NAME})
ladanyi@141
    27
endforeach (TEST_NAME)