author | Peter Kovacs <kpeter@inf.elte.hu> |
Fri, 12 Dec 2008 22:00:03 +0100 | |
changeset 469 | d369e885d196 |
parent 339 | 91d63b8b1a4c |
child 443 | 346991bf7ddd |
child 491 | 68fe66e2b34a |
child 522 | 7f8560cb9d65 |
permissions | -rw-r--r-- |
alpar@225 | 1 |
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}) |
ladanyi@141 | 2 |
|
alpar@225 | 3 |
LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon) |
ladanyi@141 | 4 |
|
alpar@225 | 5 |
SET(TESTS |
ladanyi@141 | 6 |
bfs_test |
ladanyi@141 | 7 |
counter_test |
ladanyi@141 | 8 |
dfs_test |
ladanyi@141 | 9 |
digraph_test |
kpeter@170 | 10 |
dijkstra_test |
ladanyi@141 | 11 |
dim_test |
ladanyi@141 | 12 |
error_test |
deba@200 | 13 |
graph_copy_test |
ladanyi@141 | 14 |
graph_test |
kpeter@171 | 15 |
graph_utils_test |
deba@426 | 16 |
hao_orlin_test |
deba@203 | 17 |
heap_test |
ladanyi@141 | 18 |
kruskal_test |
ladanyi@141 | 19 |
maps_test |
deba@338 | 20 |
max_matching_test |
alpar@225 | 21 |
random_test |
kpeter@171 | 22 |
path_test |
ladanyi@141 | 23 |
time_measure_test |
ladanyi@141 | 24 |
unionfind_test) |
ladanyi@141 | 25 |
|
alpar@225 | 26 |
FOREACH(TEST_NAME ${TESTS}) |
alpar@225 | 27 |
ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc) |
alpar@225 | 28 |
TARGET_LINK_LIBRARIES(${TEST_NAME} lemon) |
alpar@225 | 29 |
ADD_TEST(${TEST_NAME} ${TEST_NAME}) |
alpar@225 | 30 |
ENDFOREACH(TEST_NAME) |