1
0
Fork 0
This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
MrDev023-Cpp-Engine/configure.sh

20 lines
803 B
Bash
Raw Normal View History

2016-10-08 18:35:02 +02:00
#!/bin/bash
2018-02-06 10:11:01 +01:00
if [ "$(uname)" == "Darwin" ]; then
brew install glew
brew install alut
brew install sdl2_image
brew install sdl2_ttf
brew install sdl2_mixer
brew install openal-soft
brew install libsndfile
brew install freeglut
cmake . && cmake . 1>/dev/null # deux fois car sinon erreur de compilation
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
sudo apt install libsdl2* libglew* libglut* libglew-dev:i386 libsndfile-dev -y
cmake . && cmake . 1>/dev/null # deux fois car sinon erreur de compilation
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]; then
# Do something under 32 bits Windows NT platform
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
# Do something under 64 bits Windows NT platform
fi