mirror of
https://github.com/boostorg/graph.git
synced 2026-01-31 08:12:14 +00:00
73 lines
1.6 KiB
Plaintext
73 lines
1.6 KiB
Plaintext
# Define SGB (stanford graph base top level directory) and
|
|
# LEDA (also top level directory) at the command line of jam using -s
|
|
|
|
import testing ;
|
|
|
|
project
|
|
: requirements <hardcode-dll-paths>true
|
|
;
|
|
|
|
test-suite graph :
|
|
|
|
[ run transitive_closure_test.cpp ]
|
|
|
|
[ compile adj_list_cc.cpp ]
|
|
|
|
# adj_list_test needs some work -JGS
|
|
# unit-test adj_list_test : adj_list_test.cpp : <sysinclude>$(BOOST_ROOT) ;
|
|
[ compile adj_matrix_cc.cpp ]
|
|
|
|
[ run bfs.cpp ../../test/build//boost_test_exec_monitor ]
|
|
|
|
[ compile bfs_cc.cpp ]
|
|
|
|
[ run dfs.cpp ../../test/build//boost_test_exec_monitor ]
|
|
|
|
[ compile dfs_cc.cpp ]
|
|
|
|
[ compile dijkstra_cc.cpp ]
|
|
|
|
[ compile edge_list_cc.cpp ]
|
|
|
|
[ compile filtered_graph_cc.cpp ]
|
|
|
|
[ run graph.cpp : : : : graph_test ]
|
|
|
|
[ compile graph_concepts.cpp ]
|
|
|
|
[ compile reverse_graph_cc.cpp ]
|
|
|
|
[ run subgraph.cpp ../../test/build//boost_test_exec_monitor ]
|
|
|
|
[ run isomorphism.cpp ../../test/build//boost_test_exec_monitor ]
|
|
|
|
[ compile vector_graph_cc.cpp ]
|
|
|
|
[ compile copy.cpp ]
|
|
|
|
[ compile property_iter.cpp ]
|
|
;
|
|
|
|
# Was not ported to V2 yet, sorry.
|
|
if $(0) {
|
|
# Run SDB tests only when -sSDB= is set.
|
|
if $(SDB) != ""
|
|
{
|
|
local SDB_DEPENDCIES =
|
|
<include>$(SGB) <library-file>$(SGB)/libgb.a ;
|
|
|
|
compile stanford_graph_cc.cpp : $(SDB_DEPENDCIES) ;
|
|
}
|
|
|
|
# Run LEDA tests only when -sLEDA= is set.
|
|
if $(LEDA) != ""
|
|
{
|
|
local LEDA_DEPENDENCIES =
|
|
<include>$(LEDA)/incl
|
|
<library-file>$(LEDA)/libG.a
|
|
;
|
|
|
|
compile leda_graph_cc.cpp : <sysinclude>$(BOOST_ROOT)
|
|
$(LEDA_DEPENDENCIES) ;
|
|
}
|
|
} |