Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-03-13 11:07:17


Hi Ali,
> May I suggest that the builtin extensions contain the following?
>
> type.register CPP : c++ cpp cxx cc C ;
>
> For better or worse, these are all somewhat widespread conventions.
>
> It would still be good, btw, to make "type.register-suffixes" non-local
> so that it can be used to customize.
>
> It might also be worth considering also "type.unregister-suffixes" or to
> allow "type.register" to force overriding the existing registered
> suffixes (currently it generates an error).

I agree to all of this. The problem is that I'm somewhat busy with other
Boost.Build. Another problem is that if we go this route, it's better to
register new type "C" with suffix "c" and make sure that C and C++ compiles
are indeed different. Also, C suffix -> CPP type association should be
established only in Unixes. Of course, it's better to write automated test
for all this.

If you could do something of this and send a patch against CVS state that
would be excellent. Otherwise... it needs to wait a little.

- Volodya

 


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