Hello, can I read the build / version of the installed Boost from a file? I would like to grep the version and multithread / singlethread install option from the Boost include directory. Thanks Phil
Hello Phil,
The version is in "include/version.hpp".
Regarding multithreading, maybe you want to check if there are "-mt"
libraries in the libs directory ?
Regards,
Thibaut
2012/8/19 Kraus Philipp
Hello,
can I read the build / version of the installed Boost from a file? I would like to grep the version and multithread / singlethread install option from the Boost include directory.
Thanks
Phil _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Am 19.08.2012 um 17:52 schrieb Thibaut Lepage:
Hello Phil,
The version is in "include/version.hpp".
Perfect :-)
Regarding multithreading, maybe you want to check if there are "-mt" libraries in the libs directory ?
So I need check the files. So I need the mt files :-) Thanks for your answer Phil
2012/8/19 Kraus Philipp
Hello, can I read the build / version of the installed Boost from a file? I would like to grep the version and multithread / singlethread install option from the Boost include directory.
Thanks
Phil _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
On Sun, Aug 19, 2012 at 04:44:26PM +0200, Kraus Philipp wrote:
Hello,
can I read the build / version of the installed Boost from a file? I would like to grep the version and multithread / singlethread install option from the Boost include directory.
The headers are completely untouched by the build process. No matter
what build options you use, the number of headers and their content are
fixed in stone.
For the Boost version, consult the defines in
Am 20.08.2012 15:45, schrieb Lars Viklund:
On Sun, Aug 19, 2012 at 04:44:26PM +0200, Kraus Philipp wrote:
Hello,
can I read the build / version of the installed Boost from a file? I would like to grep the version and multithread / singlethread install option from the Boost include directory.
The headers are completely untouched by the build process. No matter what build options you use, the number of headers and their content are fixed in stone.
For the Boost version, consult the defines in
. For the presence of libraries, that's trickier. Depending on the value of the --layout you used when building, they may or may not be decorated. See the documentation on the 'system', 'tagged' and 'versioned' layouts, as well as the table of decorations in the Getting Started guides [1][2].
Note that pretty much no modern system uses singlethreaded runtimes/builds nowadays, so it might not be an issue at all.
[1]
http://www.boost.org/doc/libs/1_50_0/more/getting_started/unix-variants.html... [2]
http://www.boost.org/doc/libs/1_50_0/more/getting_started/windows.html#libra...
Do I understand this correct, that I can change with b2 --layout the library name during the buildprocess? I have got the problem, that I build Boost under OSX & Linux and the library names shows libboost_random.dylib / *.so on Windows (MSVC) boost_random-vc100-mt-1_50.dll, so on linking I know the correct filename. I would like to have only (lib prefix)boost_random.<dll suffix> (I do not need the mt name, because I build only multithread libs) How can I change the layout of the name? Thanks Phil
participants (4)
-
Kraus Philipp
-
Lars Viklund
-
Philipp Kraus
-
Thibaut Lepage