$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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?