1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00
planetblupi/README.md
Mathieu Schroeter e937cdcfc2 Update README
2017-02-11 19:00:57 +01:00

49 lines
855 B
Markdown

# Development with Linux or Darwin
## Build
```
mkdir Debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .
mkdir Release
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
```
# Development with MSYS2 (Windows)
**Update your toolchain**
```
pacman -Syuu
```
**Install main development packages**
```
pacman -S --noconfirm --needed mingw-w64-x86_64-toolchain make mingw-w64-x86_64-cmake pkg-config
```
**Install SDL2 development packages**
```
pacman -S --noconfirm --needed mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_mixer
```
**Install SDL_kitchensink dependencies**
```
pacman -S --noconfirm --needed mingw-w64-x86_64-libass mingw-w64-x86_64-ffmpeg
```
## Build
```
mkdir Debug
cmake -G"MSYS Makefiles" -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .
mkdir Release
cmake -G"MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
```