test/CMakeLists.txt
author Balazs Dezso <deba@inf.elte.hu>
Sun, 18 Jan 2009 17:49:08 +0100
changeset 471 fb5af0411793
parent 467 a1155a9e8e09
parent 468 68fe66e2b34a
child 473 17d918051964
permissions -rw-r--r--
Fix lp indexing bug (#205)
alpar@225
     1
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
ladanyi@141
     2
alpar@225
     3
LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
ladanyi@141
     4
alpar@225
     5
SET(TESTS
kpeter@465
     6
  adaptors_test
ladanyi@141
     7
  bfs_test
alpar@424
     8
  circulation_test
ladanyi@141
     9
  counter_test
ladanyi@141
    10
  dfs_test
ladanyi@141
    11
  digraph_test
kpeter@170
    12
  dijkstra_test
ladanyi@141
    13
  dim_test
ladanyi@141
    14
  error_test
deba@468
    15
  edge_set_test
deba@200
    16
  graph_copy_test
ladanyi@141
    17
  graph_test
kpeter@171
    18
  graph_utils_test
deba@410
    19
  hao_orlin_test
deba@203
    20
  heap_test
ladanyi@141
    21
  kruskal_test
deba@458
    22
  lp_test
deba@458
    23
  mip_test
ladanyi@141
    24
  maps_test
deba@326
    25
  max_matching_test
deba@441
    26
  radix_sort_test
alpar@424
    27
  path_test
alpar@424
    28
  preflow_test
alpar@225
    29
  random_test
alpar@424
    30
  suurballe_test
ladanyi@141
    31
  time_measure_test
ladanyi@141
    32
  unionfind_test)
ladanyi@141
    33
alpar@225
    34
FOREACH(TEST_NAME ${TESTS})
alpar@225
    35
  ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
alpar@225
    36
  TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
alpar@225
    37
  ADD_TEST(${TEST_NAME} ${TEST_NAME})
alpar@225
    38
ENDFOREACH(TEST_NAME)