Boost logo

Boost-Build :

From: Matthew Herrmann (matthew.herrmann_at_[hidden])
Date: 2006-03-02 18:59:04


Hi Jeroen,

If the tools are to build files of a particular type (say .vrb files), you can
do it in the actions section. But then the check to build the tool will be
before every compilation call.

Otherwise you're hitting the same problem I have which is that there is no (to
my mind) easy way to specify this kind of dependency at the moment. Maybe the
build-project rule will do it but it is sort of against the demand-driven
philosophy.

Best Regards,
Matt

On Thursday 02 March 2006 21:38, boost-build-request_at_[hidden] wrote:
> ------------------------------
>
> Message: 8
> Date: Thu, 2 Mar 2006 11:06:41 +0100
> From: jwulp_at_[hidden]
> Subject: [Boost-build] Forced build of a sub project before any other
> sub project
> To: boost-build_at_[hidden]
> Message-ID: <20060302100641.GA8784_at_[hidden]>
> Content-Type: text/plain; charset=us-ascii
>
> Hello everyone,
>
> I've thought up another construction that I would like to express into
> Boost build. I think there must be an easy solution, But I need to be
> pointed in the right direction.
>
> I have a project that contains of a couple of sub projects. One of these
> sub projects contains utility tools that I want to use during the build
> process of any of the other sub projects. Initially these tools need to be
> build. But if someone wants to do a build starting from some other sub
> project these tools also need to be bootstrapped first. So far, the tools
> are used for setting constants/variables that are used in defines, so they
> do not actually contribute to building.
>
> I was searching for an solution in the project-root.jam file, and not
> distributed over the jam files of all sub projects. I tried using UPDATE
> but that does not quite work as expected. I also looked into the make rule,
> but I did not see a way how it could help. So far what I have been
> searching for is a way to trigger the build of a sub project immediately at
> some point in project-root.jam.
>
> Thanks in advance for any help.
>
> Best regards,
>
> Jeroen


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