Boost logo

Boost-Build :

Subject: Re: [Boost-build] Unknow target type RC2
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-15 19:20:28


AMDG

Sherwood Hu wrote:
> Yes. I need to find a way to hookup rc2-php -> rc2. The .rc2 is included
> into a .rc file.
>

Once you have the generator:

import Rc2-php ;
rc2 res/PRJNAME : res/PRJNAME.rc2-php ;

However, unless you have several rc2-php files, it's easier to use the
make rule:

make res/PRJNAME.rc2 : res/PRJNAME.rc2.php : @run-php ;

actions run-php {
    php $(>) > $(<)
}

In Christ,
Steven Watanabe


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