Boost logo

Boost-Build :

From: Ali Azarbayejani (ali_at_[hidden])
Date: 2003-03-05 17:59:53


I have an existing project that uses ".C" extension for C++ files.

With "bjam --v2" I get

boost/tools/build/new/generators.jam:715: in ensure-type from module
generators
error: target { hello.C. } has no type

I diagnosed, finding this line in "new/builtin.jam"

type.register CPP : cpp cxx ;

I would like to add in my Jamfile the extension "C", but

type.register-suffixes

doesn't work (because it is declared "local"?).

What is the appropriate method for adding a suffix to a type (without
modifying the base files)?

Thanks,
--Ali

 


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