Created
November 5, 2012 16:39
-
-
Save sixman9/4018185 to your computer and use it in GitHub Desktop.
Box2d bash build script for CMake, as per box2d instructions - Place at top of Box2d SVN checkout
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
#!/bin/bash | |
pushd ./Box2D/Build > /dev/null 2>&1 | |
#Clean build dir | |
rm -fr ./* | |
#-DCMAKE_INSTALL_PREFIX:PATH=/opt/Box2D | |
cmake -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON -D CMAKE_INSTALL_PREFIX=/opt/Box2D .. | |
make | |
sudo make install | |
popd > /dev/null 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment