Created
August 8, 2019 17:45
-
-
Save crazyboycjr/6b129baa947af7a86fba3a0f0f0b45c4 to your computer and use it in GitHub Desktop.
boost 打包
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./bootstrap.sh | |
./b2 tools/bcp | |
mkdir ../extract | |
dist/bin/bcp build chrono coroutine context log predef headers tools/boost_install ../extract | |
./bootstrap.sh --with-libraries=coroutine | |
./b2 --prefix=./dist --build-type=minimal variant=release link=static debug-symbols=on coroutine install -j 4 | |
g++ b.cc -o b -g -Iextract/dist/include -Lextract/dist/lib/ -lboost_coroutine -lboost_context -lboost_thread |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment