# 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) import mpi ; project boost/graph : requirements ../src : source-location ../src ; local optional_sources ; local optional_reqs ; if [ modules.peek : EXPAT_INCLUDE ] && [ modules.peek : EXPAT_LIBPATH ] { local EXPAT_INCLUDE = [ modules.peek : EXPAT_INCLUDE ] ; local EXPAT_LIBPATH = [ modules.peek : EXPAT_LIBPATH ] ; if --debug-configuration in [ modules.peek : ARGV ] { ECHO "Expat include directory: $(EXPAT_INCLUDE)" ; ECHO "Expat library directory: $(EXPAT_LIBPATH)" ; } alias graphml : graphml.cpp : # requirements : # default built : # usage requirements $(EXPAT_INCLUDE) $(EXPAT_LIBPATH) expat ; } else { message graphml : "warning: Graph library does not contain optional GraphML reader." : "note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the" : "note: directories containing the Expat headers and libraries, respectively." ; } explicit graphml ; lib boost_graph : read_graphviz_new.cpp graphml : ../../regex/build//boost_regex 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- ; boost-install boost_graph ;