Boost logo

Boost-Build :

Subject: [Boost-build] Make rule - add INCLUDES
From: Sherwood Hu (sherwood_at_[hidden])
Date: 2011-02-21 14:30:19


Hi all,

 

My project has a .rc file that includes .rc2 which is generated from
.rc2.php under the source directory. In jamfile I have a make rule:

 

actions run-php {

                php $(>) > $(<)

}

 

make example.rc2 : example.rc2.php : @run-php ;

 

However, RC compiler complains that it can't locate example.rc2.
Examining the problem, I found that .rc2 file is generated in a
different directory from the object file. So my question is - is
possible to add this directory to INCLUDES?



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