Boost logo

Boost-Build :

From: Stanislav Baranov (sbaranov_at_[hidden])
Date: 2005-01-26 16:49:18


--- In jamboost_at_[hidden], "Stanislav Baranov" <sbaranov_at_c...>
wrote:
> Do you see a cleaner solution, to somehow
> just tell Bjam to use c++ action for *.c and be done with it?

In addition to changing *.c to use C++ action, I also need to support
*.C (uppercase) type, which is not in boost_1_31_0's build. I guess a
clean way of solving this would be to do something like this in my
project-root.jam:

type.register CPP : c C ;

Unfortunately this generates error:
error: Type CPP is already registered.

In theory, would it make sense to have a call that extends an already
defined type and re-register extensions that were previously used in
other types?

(For now I had to go and edit builtin.jam to change that.)

Stanislav

 


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