test/CMakeLists.txt
changeset 145 95d905b6e33d
child 170 91fb4372688f
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/CMakeLists.txt	Tue Apr 22 17:52:01 2008 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +include_directories (${LEMON_SOURCE_DIR})
     1.5 +
     1.6 +link_directories (${LEMON_BINARY_DIR}/lemon)
     1.7 +
     1.8 +set (TESTS
     1.9 +  bfs_test
    1.10 +  counter_test
    1.11 +  dfs_test
    1.12 +  digraph_test
    1.13 +  dim_test
    1.14 +  error_test
    1.15 +  graph_test
    1.16 +  kruskal_test
    1.17 +  maps_test
    1.18 +  random_test
    1.19 +  path_test
    1.20 +  time_measure_test
    1.21 +  unionfind_test)
    1.22 +
    1.23 +foreach (TEST_NAME ${TESTS})
    1.24 +  add_executable (${TEST_NAME} ${TEST_NAME}.cc)
    1.25 +  target_link_libraries (${TEST_NAME} lemon)
    1.26 +  add_test(${TEST_NAME} ${TEST_NAME})
    1.27 +endforeach (TEST_NAME)