Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2007-10-23 15:56:25

I'm playing around with Bjørn's --namespace option and it seems to work
well. I've run into one problem with bcp, though, having to do with
regex. The docs say this:

> bcp boost/regex.hpp /foo
> Copies boost/regex.hpp and all dependencies including the regex
> source code (in libs/regex/src) and build files (in libs/regex/build)
> to /foo. Does not copy the regex documentation, test, or example
> code.

But this doesn't copy all the files needed to build regex. For instance,
it doesn't copy boost/regex/concepts.hpp, which is required by the regex

I don't really understand the bcp source code, but I've discovered that
if I add the following "special" dependency to add_path.cpp, it works:

   std::pair<fs::path, fs::path>("boost/regex.hpp", "boost/regex"),

Is this is the right fix?

Eric Niebler
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at