Getting a buildable Boost extract with bcp

后端 未结 1 911
轻奢々
轻奢々 2021-02-06 18:15

I\'m using bcp to extract Boost.Archive from Boost. Unfortunately I can\'t build this extract. Boost.Archive is not a header-only library.

bjam complains



        
相关标签:
1条回答
  • 2021-02-06 18:40

    The right place would be any parent directory of the directory where you have extracted Boost.Archive (or that directory itself). That file shall contain a single line:

    boost-build /path/to/boost/tools/build/v2 ;
    

    where /path/to/boost needs to be substituted appropriately. This file tells bjam (the low level build engine) where to load Boost.Build build system from. Then cd to libs/archive/build, and invoke bjam from there. That would build just the Archive library.

    0 讨论(0)
提交回复
热议问题