test/CMakeLists.txt
author Alpar Juttner <alpar@cs.elte.hu>
Mon, 19 Jan 2009 11:42:15 +0000
changeset 495 c46afb3f67a6
parent 490 a1155a9e8e09
parent 491 68fe66e2b34a
child 496 17d918051964
permissions -rw-r--r--
(.hg)ignore more build-like dirs (*objs* and *build*)
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@488
     6
  adaptors_test
ladanyi@141
     7
  bfs_test
alpar@443
     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@491
    15
  edge_set_test
deba@200
    16
  graph_copy_test
ladanyi@141
    17
  graph_test
kpeter@171
    18
  graph_utils_test
deba@426
    19
  hao_orlin_test
deba@203
    20
  heap_test
ladanyi@141
    21
  kruskal_test
deba@481
    22
  lp_test
deba@481
    23
  mip_test
ladanyi@141
    24
  maps_test
deba@338
    25
  max_matching_test
deba@464
    26
  radix_sort_test
alpar@443
    27
  path_test
alpar@443
    28
  preflow_test
alpar@225
    29
  random_test
alpar@443
    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)