Boost logo

Boost-Build :

Subject: [Boost-build] Can I force a property to be propagated?
From: John Maddock (john_at_[hidden])
Date: 2010-01-15 12:12:21


I'm trying to figure out if a project can "refine" another project by
forcing some properties to be propagated to it.

In doc/pdf/Jamfile.v2 I basically just do an install of boostbook targets
declared elsewhere. But I want to be able to specify that those boostbook
targets are built with some specific properties.

If I add:

project : requirements <xsl:param>something ;

to the Jamfile, then the xsl:param only gets applied to the boostbook
targets declared in that Jamfile (fair enough).

If I add the <xsl:param>something property to the main install rule, it
still doesn't get propagated to the dependent boostbook targets.

So is there another way?

I realize I could just add the params on the command line when I invoke that
Jamfile, but that's too easy to forget when building the docs for release!

Thanks in advance, John.


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