test/CMakeLists.txt
author Balazs Dezso <deba@inf.elte.hu>
Mon, 16 Jun 2008 18:19:07 +0200
changeset 172 c94a80f38d7f
parent 170 91fb4372688f
child 200 c0e2c043c060
permissions -rw-r--r--
Clarifying the usage of skipSection
     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_test
    14   graph_utils_test
    15   kruskal_test
    16   maps_test
    17   path_test
    18   random_test
    19   time_measure_test
    20   unionfind_test)
    21 
    22 foreach (TEST_NAME ${TESTS})
    23   add_executable (${TEST_NAME} ${TEST_NAME}.cc)
    24   target_link_libraries (${TEST_NAME} lemon)
    25   add_test(${TEST_NAME} ${TEST_NAME})
    26 endforeach (TEST_NAME)