Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2006-12-12 12:14:23

Rene Rivera wrote, on 12/11/2006 10:31 PM:
> For the generation of the file itself take a look at the wxWidgets
> support I wrote in the vault
> <>.
> It creates the wx/setup.h dynamically using the built in "make" target.
> With the added <implicit-dependency> the directory where the generated
> header is added to the include path automatically so you only need to
> specify the name of the header file, without the path, in the flags. I
> have more complicated example of using this technique to also generate
> source files to compile that do things like predef and include other
> sources so that I can do things like disable and rewrite parts of the
> thrid-party libs.

Actually, I already stole your setup.h code. :-) It's just that I'm
using it in 5 different projects so far, and I'd like to make a
rule/target that encapsulates all that to make it simpler and keep my
projects easier to read. I'm going to go ahead with that and change it
to use the rule if I ever get it written.



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