Skip to content

Instantly share code, notes, and snippets.

@crazyboycjr
Created August 8, 2019 17:45
Show Gist options
  • Save crazyboycjr/6b129baa947af7a86fba3a0f0f0b45c4 to your computer and use it in GitHub Desktop.
Save crazyboycjr/6b129baa947af7a86fba3a0f0f0b45c4 to your computer and use it in GitHub Desktop.
boost 打包
./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