|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49354 - branches/release/libs/graph/build
From: ghost_at_[hidden]
Date: 2008-10-16 04:54:58
Author: vladimir_prus
Date: 2008-10-16 04:54:57 EDT (Thu, 16 Oct 2008)
New Revision: 49354
URL: http://svn.boost.org/trac/boost/changeset/49354
Log:
Merge from trunk
Text files modified:
branches/release/libs/graph/build/Jamfile.v2 | 27 ++++++++++++++++-----------
1 files changed, 16 insertions(+), 11 deletions(-)
Modified: branches/release/libs/graph/build/Jamfile.v2
==============================================================================
--- branches/release/libs/graph/build/Jamfile.v2 (original)
+++ branches/release/libs/graph/build/Jamfile.v2 2008-10-16 04:54:57 EDT (Thu, 16 Oct 2008)
@@ -23,23 +23,30 @@
ECHO "Expat library directory: $(EXPAT_LIBPATH)" ;
}
- optional_sources += graphml.cpp ;
- optional_reqs += <include>$(EXPAT_INCLUDE)
- <library-path>$(EXPAT_LIBPATH)
- <find-shared-library>expat
- ;
+ alias graphml
+ : graphml.cpp
+ : # requirements
+ : # default built
+ : # usage requirements
+ <include>$(EXPAT_INCLUDE)
+ <library-path>$(EXPAT_LIBPATH)
+ <find-shared-library>expat
+ ;
}
else
{
- ECHO "warning: Graph library does not contain optional GraphML reader." ;
- ECHO "note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the" ;
- ECHO "note: directories containing the Expat headers and libraries, respectively." ;
+ 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_spirit.cpp
- $(optional_sources)
+ graphml
:
<define>BOOST_GRAPH_NO_LIB=1
<link>shared:<define>BOOST_GRAPH_DYN_LINK=1
@@ -48,8 +55,6 @@
# Without these flags, MSVC 7.1 and 8.0 crash
<toolset>msvc-7.1:<cxxflags>-GR-
<toolset>msvc-8.0:<cxxflags>-GR-
- # Requirements for any "optional" sources
- $(optional_reqs)
;
boost-install boost_graph ;
\ No newline at end of file
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk