Building a Boost without file names?

The default naming convention for Boost C ++ libraries is:

libboost_regex-vc71-mt-d-1_34.lib

where all libraries are embedded in the same directory. I would like to change the build process so that the file name does not contain the target architecture or type of assembly (versions are fine). I want the file to be in a different directory depending on the architecture that was built for:

vc71/debug/libboost-1_34.lib

vc71/release/libboost-1_34.lib

Any idea on how to do this?

+3
source share
2 answers

, "--layout = system". "vc71/release" - . . Jamroot "stage-proper", :

  <location>$(stage-locate)/lib

, , :

  <variant>release:<location>$(stage-locate)/lib/release
  <variant>debug:<location>$(stage-locate)/lib/debug

, Boost.Build

+3

, Boost, script .

, Windows , , , Boost :

Windows " ", . Boost ; , .

.

0

Source: https://habr.com/ru/post/1711887/


All Articles