Boost logo

Boost-Build :

From: Klaus Nowikow (e8827661_at_[hidden])
Date: 2006-07-05 04:46:27

Klaus Nowikow wrote:
> [snip]
> I also have
> project : requirements
> <define>_HAVE_CONFIG_H_
> <threading>multi
> <include>$(PROJECT_ROOT)/include
> ;
> in my Jamroot, which I think would be the most elegant solution,
> but this also didn't work -- and neither did the <define> property.
> Is there any other way of setting the -I (and -D) parameters for the
> resource compiler?

I looked at gcc.jam and experimented with what I found there:

Adding the lines

flags rc.compile.resource DEFINES <define> ;
flags rc.compile.resource INCLUDES <include> ;

to rc.jam seems to be sufficient. It seems to work now, bjam -n
shows the correct comand lines.


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