Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-03-23 03:32:14


Robert Ramey wrote:

> 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
> :
> <toolset>msvc:<cxxflags>/Gy
> <toolset>msvc-6.5:<conditional>@include-spirit
> <toolset>msvc-7.0:<conditional>@include-spirit
> <toolset>borland:<conditional>@include-spirit
> <link>shared:<define>BOOST_SERIALIZATION_DYN_LINK=1
> ;
>
> 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.

Please define "doesn't seem to work". I don't see anything wrong with the code
above (aside from formatting, which I presume got messed by your email
client), so please specify exactly what you do, what you get, what you expect,
and why.

- Volodya


Boost-Build 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