test/CMakeLists.txt
author Peter Kovacs <kpeter@inf.elte.hu>
Mon, 12 Jan 2009 23:11:39 +0100
changeset 515 c35afa9e89e7
parent 467 a1155a9e8e09
parent 468 68fe66e2b34a
child 473 17d918051964
permissions -rw-r--r--
Slightly simplify adaptors_test.cc
     1 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
     2 
     3 LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
     4 
     5 SET(TESTS
     6   adaptors_test
     7   bfs_test
     8   circulation_test
     9   counter_test
    10   dfs_test
    11   digraph_test
    12   dijkstra_test
    13   dim_test
    14   error_test
    15   edge_set_test
    16   graph_copy_test
    17   graph_test
    18   graph_utils_test
    19   hao_orlin_test
    20   heap_test
    21   kruskal_test
    22   lp_test
    23   mip_test
    24   maps_test
    25   max_matching_test
    26   radix_sort_test
    27   path_test
    28   preflow_test
    29   random_test
    30   suurballe_test
    31   time_measure_test
    32   unionfind_test)
    33 
    34 FOREACH(TEST_NAME ${TESTS})
    35   ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
    36   TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
    37   ADD_TEST(${TEST_NAME} ${TEST_NAME})
    38 ENDFOREACH(TEST_NAME)