test/CMakeLists.txt
author Peter Kovacs <kpeter@inf.elte.hu>
Sat, 12 Jul 2008 10:21:44 +0200
changeset 204 77d56a21c3ab
parent 171 02f4d5d9bfd7
child 203 215bfc30b14f
permissions -rw-r--r--
Doc improvements related to ArgParser
     1 include_directories (${LEMON_SOURCE_DIR})
     2 
     3 link_directories (${LEMON_BINARY_DIR}/lemon)
     4 
     5 set (TESTS
     6   bfs_test
     7   counter_test
     8   dfs_test
     9   digraph_test
    10   dijkstra_test
    11   dim_test
    12   error_test
    13   graph_copy_test
    14   graph_test
    15   graph_utils_test
    16   kruskal_test
    17   maps_test
    18   path_test
    19   random_test
    20   time_measure_test
    21   unionfind_test)
    22 
    23 foreach (TEST_NAME ${TESTS})
    24   add_executable (${TEST_NAME} ${TEST_NAME}.cc)
    25   target_link_libraries (${TEST_NAME} lemon)
    26   add_test(${TEST_NAME} ${TEST_NAME})
    27 endforeach (TEST_NAME)