Last active
August 29, 2015 14:24
-
-
Save paiv/ecef56209fc0d3281baa to your computer and use it in GitHub Desktop.
Pick libraries from boost
This file contains 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
# download | |
curl -RLO "http://downloads.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.tar.gz" | |
tar -xzf boost_1_58_0.tar.gz | |
cd boost_1_58_0 | |
# build tools | |
./bootstrap.sh --prefix=./dist | |
./b2 tools/bcp | |
# extract selected libraries | |
dist/bin/bcp ^ | |
build ^ | |
boost/regex.hpp ^ | |
boost/serialization/export.hpp ^ | |
boost/archive/text_oarchive.hpp ^ | |
boost/archive/text_iarchive.hpp ^ | |
boost/algorithm/string/replace.hpp ^ | |
boost/algorithm/string.hpp ^ | |
boost/noncopyable.hpp ^ | |
boost/serialization/map.hpp ^ | |
boost/lambda/lambda.hpp ^ | |
picked-boost | |
# build static lib | |
cd picked-boost | |
./bootstrap.sh | |
./b2 -q --build-dir=./build --without-test variant=release link=static threading=single stage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment