How to build specified type of library with bjam?
1.I have checked the Jamroot.jam file, it seems we can specify a build-type of minimal or complete. e.g. bjam --toolset=msvc-9.0 --with-regex --build-type=complete stage But it can not meet my requirement. For example, I just want to build debug release <threading>multi <link>static. How could I specify it? 2.it seems we can specify link/runtime-link options, what's the difference between link static and runtime-link static? Does libboost_regex-vc90-mt-gd-1_35.lib means it's a multi-threading debug version of static link edition of regex library? But how about libboost_date_time-vc90-mt-sgd-1_35.lib? What does the -sgd mean? What's the naming convention?
Bill David wrote:
1.I have checked the Jamroot.jam file, it seems we can specify a build-type of minimal or complete. e.g. bjam --toolset=msvc-9.0 --with-regex --build-type=complete stage But it can not meet my requirement. For example, I just want to build debug release <threading>multi <link>static. How could I specify it?
bjam debug release threading=multi link=static
2.it seems we can specify link/runtime-link options, what's the difference between link static and runtime-link static?
'link' determines if the produced libraries are static or shared 'runtime-link' determines if static or shared runtime is used.
Does libboost_regex-vc90-mt-gd-1_35.lib means it's a multi-threading debug version of static link edition of regex library? But how about libboost_date_time-vc90-mt-sgd-1_35.lib? What does the -sgd mean? What's the naming convention?
See http://www.boost.org/doc/libs/1_36_0/more/getting_started/windows.html#libra... - Volodya
participants (2)
-
Bill David
-
Vladimir Prus