boost library naming

參考:
http://www.boost.org/doc/libs/1_66_0/more/getting_started/windows.html#library-naming
https://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx

另外 boost/config/autolink.hpp裡有提到lib naming的規則

BOOST_LIB_PREFIX
+ BOOST_LIB_NAME
+ "_"
+ BOOST_LIB_TOOLSET
+ BOOST_LIB_THREAD_OPT
+ BOOST_LIB_RT_OPT
"-"
+ BOOST_LIB_VERSION

On Windows, only ordinary static libraries use the lib prefix; import libraries and DLLs do not.
windows上 static library才有lib prefix

boost_regex-vc140-mt-gd-1_65_1.lib

boost_regex: library name
vc140: toolset tag
mt: multithreading support
gd: g, debug runtime. d, debug. s, static runtime
1_65_1: version tag, 1.65.1

This entry was posted in Library. Bookmark the permalink.

Leave a Reply