Line | |
---|
1 | subproject libs/graph/build ; |
---|
2 | |
---|
3 | SOURCES = graphviz_graph_lex graphviz_digraph_lex |
---|
4 | graphviz_graph_parser graphviz_digraph_parser |
---|
5 | read_graphviz_spirit |
---|
6 | ; |
---|
7 | |
---|
8 | GRAPHVIZ_DEFS(graphviz_graph_lex) = |
---|
9 | GRAPHVIZ_DIRECTED=0 |
---|
10 | ; |
---|
11 | GRAPHVIZ_DEFS(graphviz_digraph_lex) = |
---|
12 | GRAPHVIZ_DIRECTED=1 |
---|
13 | ; |
---|
14 | GRAPHVIZ_DEFS(graphviz_graph_parser) = |
---|
15 | GRAPHVIZ_DIRECTED=0 |
---|
16 | ; |
---|
17 | GRAPHVIZ_DEFS(graphviz_digraph_parser) = |
---|
18 | GRAPHVIZ_DIRECTED=1 |
---|
19 | ; |
---|
20 | |
---|
21 | { |
---|
22 | |
---|
23 | rule bgl-lib-file |
---|
24 | { |
---|
25 | local objects source defs ; |
---|
26 | defs = $(DEFINES) ; |
---|
27 | for source in $(>) |
---|
28 | { |
---|
29 | DEFINES = $(defs) $(GRAPHVIZ_DEFS($(source:B))) ; |
---|
30 | objects += [ Objects $(source) ] ; |
---|
31 | } |
---|
32 | LibraryFromObjects $(<) : $(objects) ; |
---|
33 | } |
---|
34 | local gGENERATOR_FUNCTION(LIB) = bgl-lib-file ; |
---|
35 | |
---|
36 | lib bgl-viz |
---|
37 | : ../src/$(SOURCES).cpp |
---|
38 | : <sysinclude>$(BOOST_ROOT) <define>YY_NO_UNISTD_H |
---|
39 | # Darwin compiler ICEs if we turn optimization on |
---|
40 | <darwin><*><debug-symbols>off |
---|
41 | <darwin><*><optimization>off |
---|
42 | # Intel compiler ICEs if we turn optimization on |
---|
43 | <intel-win32><*><optimization>off |
---|
44 | <vc-7_1><*><cxxflags>-GR- |
---|
45 | : debug <inlining>on #inlining prevents linker name clashes due to truncation! |
---|
46 | <debug-symbols>off # Debugging symbols become HUGE |
---|
47 | |
---|
48 | ; |
---|
49 | |
---|
50 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.