Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2007-10-24 04:03:20


Eric Niebler wrote:
> 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 makefiles.
>
> 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?

Not really, it's a bug in the Makefiles - or rather the shell script that
creates them - they shouldn't depend upon the concepts.hpp header as that's
not required to build the regex lib, only to test it. Hopefully I have this
fixed in SVN now.

John.


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