author | Alpar Juttner <alpar@cs.elte.hu> |
Wed, 05 Oct 2011 12:02:56 +0200 | |
changeset 1086 | 08cbd48f51f0 |
parent 539 | d8ca76573eb3 |
child 1069 | b1b534ddb539 |
child 1070 | c8c8801db0a4 |
child 1071 | 2d583da4ba40 |
permissions | -rw-r--r-- |
ladanyi@539 | 1 |
INCLUDE_DIRECTORIES( |
ladanyi@539 | 2 |
${CMAKE_SOURCE_DIR} |
ladanyi@539 | 3 |
${PROJECT_BINARY_DIR} |
ladanyi@539 | 4 |
) |
ladanyi@141 | 5 |
|
alpar@225 | 6 |
LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon) |
ladanyi@141 | 7 |
|
alpar@225 | 8 |
SET(TESTS |
ladanyi@141 | 9 |
bfs_test |
ladanyi@141 | 10 |
counter_test |
ladanyi@141 | 11 |
dfs_test |
ladanyi@141 | 12 |
digraph_test |
kpeter@170 | 13 |
dijkstra_test |
ladanyi@141 | 14 |
dim_test |
ladanyi@141 | 15 |
error_test |
deba@200 | 16 |
graph_copy_test |
ladanyi@141 | 17 |
graph_test |
kpeter@171 | 18 |
graph_utils_test |
deba@203 | 19 |
heap_test |
ladanyi@141 | 20 |
kruskal_test |
alpar@1067 | 21 |
lgf_test |
ladanyi@141 | 22 |
maps_test |
alpar@225 | 23 |
random_test |
kpeter@171 | 24 |
path_test |
ladanyi@141 | 25 |
time_measure_test |
ladanyi@141 | 26 |
unionfind_test) |
ladanyi@141 | 27 |
|
alpar@225 | 28 |
FOREACH(TEST_NAME ${TESTS}) |
alpar@225 | 29 |
ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc) |
alpar@225 | 30 |
TARGET_LINK_LIBRARIES(${TEST_NAME} lemon) |
alpar@225 | 31 |
ADD_TEST(${TEST_NAME} ${TEST_NAME}) |
alpar@225 | 32 |
ENDFOREACH(TEST_NAME) |