Boost logo

Boost :

Subject: [boost] bcp update #2: namespace renaming
From: John Maddock (john_at_[hidden])
Date: 2009-12-28 11:46:29


OK, since folks keep asking for it, bcp will now do namespace renaming, the
two new options are:

--namespace=newname

Renames namespace boost to "newname" in all the source files copied.

Also changes library names to start with the prefix "newname" or
"libnewname" rather than "boost" or "libboost".

--namespace-alias

Makes namespace boost an alias for the new name.

Using these two options you can get "strong versioning" with two different
boost installs coexisting side by side (in the same application if
necessary). What you can not do at present, is #include two different boost
versions in the same translation unit.

This update is in, and tested against, SVN Trunk only at present.

Enjoy, John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk