Last active
March 7, 2016 05:07
-
-
Save yuasatakayuki/d403f3791288697d6b5c to your computer and use it in GitHub Desktop.
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 | |
| PREFIX=$HOME/work/install | |
| cd $HOME | |
| if [ ! -d $PREFIX ]; then | |
| mkdir -p $PREFIX | |
| fi | |
| for LIBRARY_NAME in CCSDSLibrary SMCPLibrary; do | |
| pushd $PREFIX | |
| rm -rf ${LIBRARY_NAME} | |
| git clone https://github.com/yuasatakayuki/${LIBRARY_NAME}.git | |
| pushd ${LIBRARY_NAME} | |
| mkdir build | |
| pushd build | |
| cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local | |
| sudo make install | |
| popd | |
| popd | |
| popd | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment