# Copyright (c) 2002 Trustees of Indiana University # # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) project boost/graph : requirements ../src : source-location ../src ; if [ modules.peek : GRAPHVIZ_PARSER ] { lib boost_graph : graphviz_graph_lex graphviz_digraph_lex graphviz_graph_parser graphviz_digraph_parser : YY_NO_UNISTD_H ; obj graphviz_graph_lex : graphviz_lex.ll : bgl_undir_ GRAPHVIZ_DIRECTED=0 graphviz_graph_parser ; obj graphviz_graph_parser : graphviz_parser.yy : bgl_undir_ GRAPHVIZ_DIRECTED=0 ; obj graphviz_digraph_lex : graphviz_lex.ll : bgl_dir_ GRAPHVIZ_DIRECTED=1 graphviz_digraph_parser ; obj graphviz_digraph_parser : graphviz_parser.yy : bgl_dir_ GRAPHVIZ_DIRECTED=1 ; } else { lib boost_graph : read_graphviz_spirit.cpp : BOOST_GRAPH_NO_LIB=1 shared:BOOST_GRAPH_DYN_LINK=1 # # Intel compiler ICEs if we turn optimization on intel-vc71-win-9.1:off # Without these flags, MSVC 7.1 and 8.0 crash msvc-7.1:-GR- msvc-8.0:-GR- ; }