BOOST libraries in multithreading-aware mode

前端 未结 6 2066
野的像风
野的像风 2020-12-03 02:44

There is a possibility to compile BOOST libraries in the so-called thread-aware mode. If so you will see \"...-mt...\" appeared in the library name. I can\'t understand wha

6条回答
  •  攒了一身酷
    2020-12-03 03:32

    There is an option to put "-mt" suffix back (bjam --layout=tagged)

    --layout=     Determines whether to choose library names
                          and header locations such that multiple
                          versions of Boost or multiple compilers can
                          be used on the same system.
    
                              versioned - Names of boost binaries
                              include the Boost version number, name and
                              version of the compiler and encoded build
                              properties.  Boost headers are installed in a
                              subdirectory of  whose name contains
                              the Boost version number.
    
                              tagged -- Names of boost binaries include the
                              encoded build properties such as variant and
                              threading, but do not including compiler name
                              and version, or Boost version. This option is
                              useful if you build several variants of Boost,
                              using the same compiler.
    
                              system - Binaries names do not include the
                              Boost version number or the name and version
                              number of the compiler.  Boost headers are
                              installed directly into .  This option
                              is intended for system integrators who are
                              building distribution packages.
    
                          The default value is 'versioned' on Windows, and
                          'system' on Unix.
    

提交回复
热议问题