
Hi all! I have a question regarding the boost build on Windows: I'm building boost with the following bjam command: cmd.exe /C ./tools/build/jam_src/${bindir}/bjam.exe -d2 -sTOOLS=${toolchain} "-sBUILD=release <threading>multi <cxxflags>-D_USE_32BIT_TIME_T <runtime-link>dynamic" "-s${vc_root}=${vcvars32}" Everything works fine so far, but: I want only the shared libraries (dlls), and am settings appropriate defines to use those versions in all other software i build. Thus the static libraries are completely useless for me (at least i think so, am i wrong?) Can i somehow disable static library builds? Cheers, Markus -- 17.-19. Oktober 2007 Salomon Automation am 24. Deutschen Logistik-Kongress der BVL, Berlin; Stand W/09 14. November 2007 Salomon Automation an der LogIT Retail im Leopoldsmuseum in Wien Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz Sitz der Gesellschaft: Friesach bei Graz UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K Firmenbuchgericht: Landesgericht fur Zivilrechtssachen Graz

Duft Markus wrote:
Hi all!
I have a question regarding the boost build on Windows: I'm building boost with the following bjam command:
cmd.exe /C ./tools/build/jam_src/${bindir}/bjam.exe -d2 -sTOOLS=${toolchain} "-sBUILD=release <threading>multi <cxxflags>-D_USE_32BIT_TIME_T <runtime-link>dynamic" "-s${vc_root}=${vcvars32}"
You appears to be using Boost 1.33.*, with Boost.Build V1, right?
Everything works fine so far, but: I want only the shared libraries (dlls), and am settings appropriate defines to use those versions in all other software i build. Thus the static libraries are completely useless for me (at least i think so, am i wrong?)
Can i somehow disable static library builds?
I'm not sure this is easily possible in the version you're using. In Boost 1.34.*, using Boost.Build V2, you'd use: link=shared on the command like to build only shared libraries. - Volodya
participants (2)
-
Duft Markus
-
Vladimir Prus