Boost libraries - build only what I need

前端 未结 6 703
囚心锁ツ
囚心锁ツ 2020-12-22 23:54

I downloaded the Boost libraries and now I want to build only a few of the libraries. What would be the right command for this? Apparently the built-type=complete option giv

6条回答
  •  别那么骄傲
    2020-12-23 00:24

    An additional note for anyone who sees the error message: "error: wrong library name '' in the --with- option.".

    If you try to be clever, as I did, and only extract the boost sub-directory of the download onto your system to minimise space, b2 will not be able to find the source code and build options for those libraries that are not header-only. I.e. you need the lib sub-directory too (and tools).

提交回复
热议问题