alpar@225: INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
ladanyi@141: 
alpar@225: LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
ladanyi@141: 
alpar@225: SET(TESTS
ladanyi@141:   bfs_test
ladanyi@141:   counter_test
ladanyi@141:   dfs_test
ladanyi@141:   digraph_test
kpeter@170:   dijkstra_test
ladanyi@141:   dim_test
ladanyi@141:   error_test
deba@200:   graph_copy_test
ladanyi@141:   graph_test
kpeter@171:   graph_utils_test
deba@203:   heap_test
ladanyi@141:   kruskal_test
ladanyi@141:   maps_test
alpar@225:   random_test
kpeter@171:   path_test
ladanyi@141:   time_measure_test
ladanyi@141:   unionfind_test)
ladanyi@141: 
alpar@225: FOREACH(TEST_NAME ${TESTS})
alpar@225:   ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
alpar@225:   TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
alpar@225:   ADD_TEST(${TEST_NAME} ${TEST_NAME})
alpar@225: ENDFOREACH(TEST_NAME)