test/CMakeLists.txt
author Peter Kovacs <kpeter@inf.elte.hu>
Mon, 12 Jan 2009 09:53:12 +0100
changeset 466 4f1431aeef42
parent 445 75a5df083951
child 467 a1155a9e8e09
permissions -rw-r--r--
Rename graph adaptors with the migration script (#67)
     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   graph_copy_test
    16   graph_test
    17   graph_utils_test
    18   hao_orlin_test
    19   heap_test
    20   kruskal_test
    21   maps_test
    22   max_matching_test
    23   radix_sort_test
    24   path_test
    25   preflow_test
    26   random_test
    27   suurballe_test
    28   time_measure_test
    29   unionfind_test)
    30 
    31 FOREACH(TEST_NAME ${TESTS})
    32   ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
    33   TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
    34   ADD_TEST(${TEST_NAME} ${TEST_NAME})
    35 ENDFOREACH(TEST_NAME)