b2 -prefix=.\stage\lib --toolset=msvc runtime-link=static
예)
VS 2005
/MT, /MTd
b2 -prefix=.\stage\lib --toolset=msvc-8.0 runtime-link=static
/MD, /MDd
b2 -prefix=.\stage\lib --toolset=msvc-8.0 runtime-link=shared
VS 2012
/MT, /MTd
b2 -prefix=.\stage\lib --toolset=msvc-11.0 runtime-link=static
/MD, /MDd
b2 -prefix=.\stage\lib --toolset=msvc-11.0 runtime-link=shared
64비트
b2 variant=debug,release link=static threading=multi address-model=64 stage
'Programming > C,C++' 카테고리의 다른 글
[퍼온글] gcc library 만들기 (0) | 2013.03.18 |
---|