Boost logo

Boost-Build :

From: Robert Ramey (ramey_at_[hidden])
Date: 2008-03-22 16:04:32

In the serialization library build directory there is a Jamfile.v2

So far so good.

it includes the following:

SPIRIT_ROOT = [ modules.peek : SPIRIT_ROOT ] ;
rule include-spirit ( properties * )
local result ;
if ( $(SPIRIT_ROOT) ) {
# note - we can't use <include>$(SPIRIT_ROOT) because
# it puts -I$(SPIRIT_ROOT) AFTER the "../../.." in the command line.
# so use these instead
result = <cxxflags>-I$(SPIRIT_ROOT) ;
else {
echo **** spirit 1.6x required to build library with this compiler **** ;
result = <build>no ;

and later
lib boost_serialization
: $(SOURCES).cpp

Some compilers can't handled the latest version of spirit but will still
work with spirit 1.6x if that version is installed an the variable
SPIRIT_ROOT is set to the installation directory.

However, this doesn't seem to work. Now I don't remember
how/where I got the code to do this - but I would appreciated
of some bjam guru would like to tweak this so that it implements
the desired behavior. As usual, thanks in advance.

Robert Ramey

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at