test/CMakeLists.txt
author Balazs Dezso <deba@inf.elte.hu>
Thu, 17 Jul 2008 17:39:53 +0200
changeset 222 f9a18c21dba8
parent 200 c0e2c043c060
child 225 c5a40fc54f1a
permissions -rw-r--r--
Fixing bfs test (Ticket #128)
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
deba@203
    16
  heap_test
ladanyi@141
    17
  kruskal_test
ladanyi@141
    18
  maps_test
kpeter@171
    19
  path_test
ladanyi@141
    20
  random_test
ladanyi@141
    21
  time_measure_test
ladanyi@141
    22
  unionfind_test)
ladanyi@141
    23
ladanyi@141
    24
foreach (TEST_NAME ${TESTS})
ladanyi@141
    25
  add_executable (${TEST_NAME} ${TEST_NAME}.cc)
ladanyi@141
    26
  target_link_libraries (${TEST_NAME} lemon)
ladanyi@141
    27
  add_test(${TEST_NAME} ${TEST_NAME})
ladanyi@141
    28
endforeach (TEST_NAME)