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.

--
Klaus

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