mirror of
https://github.com/boostorg/graph.git
synced 2026-02-03 09:12:14 +00:00
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
subproject libs/graph/build ;
|
|
|
|
SOURCES = graphviz_graph_lex graphviz_digraph_lex
|
|
graphviz_graph_parser graphviz_digraph_parser
|
|
read_graphviz_spirit
|
|
;
|
|
|
|
GRAPHVIZ_DEFS(graphviz_graph_lex) =
|
|
GRAPHVIZ_DIRECTED=0
|
|
;
|
|
GRAPHVIZ_DEFS(graphviz_digraph_lex) =
|
|
GRAPHVIZ_DIRECTED=1
|
|
;
|
|
GRAPHVIZ_DEFS(graphviz_graph_parser) =
|
|
GRAPHVIZ_DIRECTED=0
|
|
;
|
|
GRAPHVIZ_DEFS(graphviz_digraph_parser) =
|
|
GRAPHVIZ_DIRECTED=1
|
|
;
|
|
|
|
{
|
|
|
|
rule bgl-lib-file
|
|
{
|
|
local objects source defs ;
|
|
defs = $(DEFINES) ;
|
|
for source in $(>)
|
|
{
|
|
DEFINES = $(defs) $(GRAPHVIZ_DEFS($(source:B))) ;
|
|
objects += [ Objects $(source) ] ;
|
|
}
|
|
LibraryFromObjects $(<) : $(objects) ;
|
|
}
|
|
local gGENERATOR_FUNCTION(LIB) = bgl-lib-file ;
|
|
|
|
lib bgl-viz
|
|
: ../src/$(SOURCES).cpp
|
|
: <sysinclude>$(BOOST_ROOT) <define>YY_NO_UNISTD_H
|
|
# Darwin compiler ICEs if we turn optimization on
|
|
<darwin><*><debug-symbols>off
|
|
<darwin><*><optimization>off
|
|
# Intel compiler ICEs if we turn optimization on
|
|
<intel-win32><*><optimization>off
|
|
<vc-7_1><*><cxxflags>-GR-
|
|
: debug <inlining>on #inlining prevents linker name clashes due to truncation!
|
|
<debug-symbols>off # Debugging symbols become HUGE
|
|
|
|
;
|
|
|
|
}
|