I've just added Boost Regex to a new project. It is the first time I've done that for quite a long time (several years) and I'm left wondering whether Regex's standard build location has been changed, or whether I've
The last one I did was Boost version 1.34.1, under Visual Studio 6.
The one I have just done is Boost version 1.64.0, under Visual Studio 12, aka Visual Studio 2013.
To build 1.34.1 (on VC6) I run "bjam --toolset=msvc --with-regex stage".
This creates two folders - "bin.v2" and "stage".
Bin.v2 is where all the intermediate files are written.
Stage/lib is where the final outputs are written. There are a number of different ones built; for all the various static/dynamic, single/multi-threading, debug/release options.
Because of the auto-link stuff I just #include <boost/regex.hpp> in my project, and because of the use of #pragma comments in boost,
the Link pass picks up the correct library file-name, provided I have included $(BOOSTDIR)\stage\lib in the linker's list of folders to search.
(%BOOSTDIR% being my chosen download/build location)
To build 1.64.0 I've followed the current instructions. I ran "b2 regex", which built a dll, which is not what I want. I then ran "b2 regex link=static", which build the static lib I wanted. However, the lib is left
in a folder a long way down from the bin.v2 folder, which is where I expected it to be. It's in bin.v2\libs\regex\build\msvc-12\debug\link-static\threading-multi.
Hence, I need to know all the build settings to work out the folder name. On the file-name side this is all hidden from my by the auto-link system, which builds the lib file's name from the various option settings.
Having the name built automatically but not the path leads me to suspect I've missed something....
Is there an instruction I've missed to get all the built products (dlls or libs) put in a common (not too deep) location ? (so the auto-link system will be sufficient to find it given just one linker folder location)
Is there an instruction I've missed to get all the combinations (static/dynamic, single/multi-threading,
debug/release) built ? (rather than one at a time)
BNCS Engineer, SI SOL Telco & Media Vertical
T: +44 (0)20 3618 2669
M: +44 (0)7812 325518
4 Triton Square, Regentís Place, London NW1 3HG
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please
notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does
not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.</