Subject: Re: [Boost-build] how to use exe target from generator tool
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-02-29 16:27:46
On 02/29/2012 07:32 AM, George Georgiev wrote:
> Hi Steven,
> This was extremely helpful. Now I have all my compil files compiled
> and if I change the generator code it makes the compil files to be
> regenerated. If a compil file is changed the dependent compil files
> are regenerated too.
> I have the following issues that I still need to resolve. If you give
> me some pointers it will be great.
> 1. The generated code is a cpp and header file. If a compil file A
> imports compil file B, the generated cpp file A will include the
> header file of B. This means I need to make sure that the header and
> cpp files for B are generated before A cpp is compiled. Also how to
> make the header files for one compil included for the dependent cpp
> 2. Obviously the generated header files are used from other
> non-generated cpp files too. I need to make sure these cpp files that
> directly or indirectly depend on generated header file are compiled
> after the headers are generated/updated. And again how to make these
> header files visible.
Use <implicit-dependency>. See
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