mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
It seems that it fixes a random crash on darwin in the SDL audio internals.
Development with Linux or Darwin
Build
mkdir Debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .
mkdir Release
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
Deploy
An AppImage file is automatically generated with Release builds.
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
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 .
Deploy
You need NSIS64 in order to create the Windows installer.
pacman -S mingw64/mingw-w64-x86_64-nsis
Run the following command (Release build only):
make -C src/planetblupi_Project-build package
Languages
C++
93.6%
CMake
4.4%
C
1.9%
AppleScript
0.1%