test/CMakeLists.txt
author Alpar Juttner <alpar@cs.elte.hu>
Sun, 13 Jul 2008 16:46:56 +0100
changeset 208 4317d277ba21
parent 200 c0e2c043c060
child 225 c5a40fc54f1a
permissions -rw-r--r--
Better source unifier

- now it is called scripts/unify-sources.sh
- replaces each tab with 8 spaces
- remove trailing spaces (and tabs)
- warnings on long lines (i.e. on lines that are more than 80 characters)
- the standard file header now turns off the space-to-tab replacement in Emacs
     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   heap_test
    17   kruskal_test
    18   maps_test
    19   path_test
    20   random_test
    21   time_measure_test
    22   unionfind_test)
    23 
    24 foreach (TEST_NAME ${TESTS})
    25   add_executable (${TEST_NAME} ${TEST_NAME}.cc)
    26   target_link_libraries (${TEST_NAME} lemon)
    27   add_test(${TEST_NAME} ${TEST_NAME})
    28 endforeach (TEST_NAME)