Boost logo

Boost-Build :

Subject: Re: [Boost-build] adding <include> path when creating .h file
From: Sherwood Hu (sherwood_at_[hidden])
Date: 2010-03-03 15:43:15

I forgot to put the definition of run-php in the last post.


actions run-php {

    php $(>) > $(<)



From: boost-build-bounces_at_[hidden]
[mailto:boost-build-bounces_at_[hidden]] On Behalf Of Sherwood Hu
Sent: Wednesday, March 03, 2010 3:32 PM
To: boost-build_at_[hidden]
Subject: [Boost-build] adding <include> path when creating .h file


In my project I have a file, config.h, that should be generated from
config.h.php. My jamfile looks like this:



make config.h : config.h.php : @run-php ;

exe myEXE : config.h a.cpp ... ;



I ran bjam with VC 2005, and bjam put the generated config.h at




All object files are under




In the .rsp file generated, the header include path has




But it does not contain the path to its parent directory. The compiler
complained that it could not locate config.h.


How can I solve the problem?



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