1 | # Define SGB (stanford graph base top level directory) and |
---|
2 | # LEDA (also top level directory) at the command line of jam using -s |
---|
3 | |
---|
4 | import modules ; |
---|
5 | |
---|
6 | test-suite graph_test : |
---|
7 | |
---|
8 | [ run transitive_closure_test.cpp ] |
---|
9 | |
---|
10 | [ compile adj_list_cc.cpp ] |
---|
11 | |
---|
12 | # adj_list_test needs some work -JGS |
---|
13 | # unit-test adj_list_test : adj_list_test.cpp ; |
---|
14 | [ compile adj_matrix_cc.cpp ] |
---|
15 | |
---|
16 | [ run bfs.cpp ../../test/build//boost_test_exec_monitor ] |
---|
17 | |
---|
18 | [ compile bfs_cc.cpp ] |
---|
19 | |
---|
20 | [ run dfs.cpp ../../test/build//boost_test_exec_monitor ] |
---|
21 | |
---|
22 | [ compile dfs_cc.cpp ] |
---|
23 | |
---|
24 | [ compile dijkstra_cc.cpp ] |
---|
25 | |
---|
26 | [ compile edge_list_cc.cpp ] |
---|
27 | |
---|
28 | [ compile filtered_graph_cc.cpp ] |
---|
29 | |
---|
30 | [ run graph.cpp ] |
---|
31 | |
---|
32 | [ compile graph_concepts.cpp ] |
---|
33 | |
---|
34 | [ compile reverse_graph_cc.cpp ] |
---|
35 | |
---|
36 | [ run subgraph.cpp ../../test/build//boost_test_exec_monitor ] |
---|
37 | |
---|
38 | [ run isomorphism.cpp ../../test/build//boost_test_exec_monitor ] |
---|
39 | |
---|
40 | [ run adjacency_matrix_test.cpp ] |
---|
41 | |
---|
42 | [ compile vector_graph_cc.cpp ] |
---|
43 | |
---|
44 | [ compile copy.cpp ] |
---|
45 | |
---|
46 | [ compile property_iter.cpp ] |
---|
47 | |
---|
48 | [ run bundled_properties.cpp ] |
---|
49 | ; |
---|
50 | |
---|
51 | # Run SDB tests only when -sSDB= is set. |
---|
52 | if [ modules.peek : SDB ] != "" |
---|
53 | { |
---|
54 | local SDB_DEPENDCIES = |
---|
55 | <include>$(SGB) <library-file>$(SGB)/libgb.a ; |
---|
56 | |
---|
57 | compile stanford_graph_cc.cpp |
---|
58 | $(SDB_DEPENDCIES) ; |
---|
59 | } |
---|
60 | |
---|
61 | # Run LEDA tests only when -sLEDA= is set. |
---|
62 | if [ modules.peek : LEDA ] != "" |
---|
63 | { |
---|
64 | local LEDA_DEPENDENCIES = |
---|
65 | <include>$(LEDA)/incl |
---|
66 | <library-file>$(LEDA)/libG.a |
---|
67 | ; |
---|
68 | |
---|
69 | compile leda_graph_cc.cpp |
---|
70 | $(LEDA_DEPENDENCIES) ; |
---|
71 | } |
---|