Boost logo

Boost-Build :

Subject: Re: [Boost-build] Generate files to a specific place
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-05-20 12:24:03


AMDG

Anatoli Sakhnik wrote:
> This is a bit classical request. I’m trying to tune CORBA project
> where IDL files are used to generate CPP and H. So it was quite simple
> to have a proper implementation of such generator that didn’t care
> about where to place the generated files (see the attach). Until I
> needed to include generated headers from other projects.
> Well, you say, use <implicit-depencency>, and the BBv2 will know where
> to find those generated headers. That’s true, but should I really take
> care of this manually for every dependent project??? That’s the hell.
> I’ve been looking for a way to put generated files to a custom
> directory, but I’ve found nothing. Having spent few days, I couldn’t
> implement that on my own. Please help me; how to customize the output
> directory?
>

try adding <location>output/directory to the requirements of a target.

In Christ,
Steven Watanabe


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