Boost logo

Boost-Build :

Subject: Re: [Boost-build] generate code from Jamfile
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-07-01 15:52:46


Oliver Kowalke wrote:
> Is it possible to generate hpp-files from Jamfile?


> For instance I need to set array size depending uppon
> properties.

The easiest way is to use print in a make target. A relatively
simple example is here
it's generating a cpp file instead of an hpp file, but the principle is
the same.

Depending on how complex what you're doing is, it might be
easier to use macros.

In Christ,
Steven Watanabe

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