Boost logo

Boost-Build :

Subject: Re: [Boost-build] Unknow target type RC2
From: Sherwood Hu (sherwood_at_[hidden])
Date: 2009-01-15 13:44:17


Thank for the quick reply. I changed the file .rc2.php to .rc2-php
because I thought that I have to give an unique file extension.

The "Unkown target type RC2" is now gone, but still it complained that
it could locate "res\PRJNAME.rc2".


-----Original Message-----
From: boost-build-bounces_at_[hidden]
[mailto:boost-build-bounces_at_[hidden]] On Behalf Of Steven
Sent: Thursday, January 15, 2009 1:29 PM
To: Boost.Build developer's and user's list
Subject: Re: [Boost-build] Unknow target type RC2


Sherwood Hu wrote:
> I am new to - I am trying to write a jam file for a MFC
> project. The project has a .rc file, which includes another .rc2 file
> under 'res' directory. Just like what a typical MFC Project look like.
> We require that this .rc2 is generated dynamically. In the existing
> makefile, this is a simple line:
> res/PRJNAME.rc2 : res/PRJNAME.rc2.php
> php res/PRJNAME.rc2.php > res/PRJNAME.rc2
> I read the v2 manual, and it seemed to me that the only
> is to write an extender, and I did:
> Rc2-php.jam
> =======
> import type ;
> type.register RC2PHP : rc2-php ;

This will match files like *.rc2-php, not *.rc2.php, BTW.

Anyway, since there is no RC2 type, try creating it:
type.register RC2 : rc2 ;

> However, when I ran the bjam, it reported an error "Unknown target
> RC2".

In Christ,
Steven Watanabe

Unsubscribe & other changes:

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