Last active
December 29, 2015 13:49
-
-
Save fosterbrereton/7680303 to your computer and use it in GitHub Desktop.
Working with Boost in git
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
#!/bin/bash | |
# Boost is now using git submodules, where each Boost library has its own. These are coalesced | |
# into a top-level boost repository. Grabbing a snapshot of boost, then, involves cloning the | |
# top-level repo and using bjam to build the familiar top-level boost/ headers directory. | |
git clone --recursive [email protected]:boostorg/boost.git | |
cd boost | |
./bootstrap.sh # Build bjam | |
./b2 headers # Set up the boost/ headers directory, which will create symlinks to the actual files | |
# Updating to the top of boost, then, is a matter of calling update on the submodules within the | |
# top-level project: | |
cd boost | |
git submodule update --recursive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment