test/CMakeLists.txt
author Balazs Dezso <deba@inf.elte.hu>
Tue, 15 Jul 2008 13:15:39 +0200
changeset 220 a5d8c039f218
parent 200 c0e2c043c060
child 225 c5a40fc54f1a
permissions -rw-r--r--
Reorganize header files (Ticket #97)

In addition on some places the DefaultMap<G, K, V> is replaced with
ItemSetTraits<G, K>::template Map<V>::Type, to decrease the dependencies
of different tools. It is obviously better solution.
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)