Skip to content

Instantly share code, notes, and snippets.

@Antoine-dh
Created January 18, 2019 19:15
Show Gist options
  • Save Antoine-dh/01766529d7e3279a0724df134a0f5d17 to your computer and use it in GitHub Desktop.
Save Antoine-dh/01766529d7e3279a0724df134a0f5d17 to your computer and use it in GitHub Desktop.
#!/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