6
1
4
1 |
include_directories (${LEMON_SOURCE_DIR}) |
|
2 |
|
|
3 |
link_directories (${LEMON_BINARY_DIR}/lemon) |
|
4 |
|
|
5 |
set (DEMOS |
|
6 |
arg_parser_demo |
|
7 |
graph_to_eps_demo |
|
8 |
lgf_demo) |
|
9 |
|
|
10 |
foreach (DEMO_NAME ${DEMOS}) |
|
11 |
add_executable (${DEMO_NAME} ${DEMO_NAME}.cc) |
|
12 |
target_link_libraries (${DEMO_NAME} lemon) |
|
13 |
endforeach (DEMO_NAME) |
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 |
dim_test |
|
11 |
error_test |
|
12 |
graph_test |
|
13 |
kruskal_test |
|
14 |
maps_test |
|
15 |
random_test |
|
16 |
path_test |
|
17 |
time_measure_test |
|
18 |
unionfind_test) |
|
19 |
|
|
20 |
foreach (TEST_NAME ${TESTS}) |
|
21 |
add_executable (${TEST_NAME} ${TEST_NAME}.cc) |
|
22 |
target_link_libraries (${TEST_NAME} lemon) |
|
23 |
add_test(${TEST_NAME} ${TEST_NAME}) |
|
24 |
endforeach (TEST_NAME) |
0 comments (0 inline)