Created
January 18, 2019 19:15
-
-
Save Antoine-dh/01766529d7e3279a0724df134a0f5d17 to your computer and use it in GitHub Desktop.
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/sh | |
(ls corrade || git clone https://github.com/mosra/corrade.git) && | |
cd corrade && | |
mkdir build | |
cd build && | |
cmake -DCMAKE_INSTALL_PREFIX=/usr .. && | |
make && | |
sudo make install && | |
cd ../.. && | |
(ls magnum || git clone https://github.com/mosra/magnum.git) && | |
cd magnum && | |
mkdir build | |
cd build && | |
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DWITH_AUDIO=ON -DWITH_GLXAPPLICATION=ON -DWITH_ANYAUDIOIMPORTER=ON -DWITH_ANYIMAGEIMPORTER=ON -DWITH_OBJIMPORTER=ON && | |
make && | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment