Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-04-01 13:56:10

On Saturday 29 March 2008 19:23:23 Robert Ramey wrote:
> so please specify exactly what you do, what you get, what
> > you expect, and why.
> I want to run build the library for borland. However, the
> borland compilers don't work with later versions of spirit.
> The do work with spirit 1.6x. So, If one has a copy
> of spirit1.6x in some directory, and that directory is
> placed in the list of include directories, the serialization
> will build and most of the tests should pass. So I want
> builds using the borland compiler to add the directory
> name contained in $(SPIRIT_ROOT) in the list of
> include directories. If $SPIRIT_ROOT) isn't specified
> I want to emit an error message.
> When I currently do this now, I do have SPIRIT_ROOT
> defined, but the build doesn't seem to add the contents
> of this variable to the list on include files. In fact, puting
> an "echo" statement into rule include-spirit emits nothing
> which suggests this rule isn't called at all.
> The reason that I want to do this is so the the library
> for borland can built and the tests run.
> Thanks for your help.

I've took a second look at your Jamfile, and I wonder how it could ever
worked. It has this:


Now, we have conditional requirements:


and indirect conditional requirements:


The above appears to be indirect-conditional-requirements-inside-conditional-
requirements and that was never supposed to work. If you're already writing
procedural code to handle conditions, there's no reason why that code
cannot handle everything.

Not to mention that your 'include-sprit' rule fails to return a value.

I've checked in an attempt to fix, in revision 43987, which seem to generate
the desired effect for borland, but would you please verify all is as you

- Volodya

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