summaryrefslogtreecommitdiff
path: root/packaging/msys2-build.sh
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-06-19 10:10:15 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-06-19 10:10:15 +0200
commit61d02a395b0ca594640f0fb917d7162a5aba2c37 (patch)
tree7dd6f7f540dda3d89d37bc7e19f3f4d27dd53c85 /packaging/msys2-build.sh
parent5da59b807d9840fb23feb42df729bf5e88ee9678 (diff)
parentac0b338b3e026d0d05a447894de9a6a994da82dc (diff)
downloadmana-61d02a395b0ca594640f0fb917d7162a5aba2c37.tar.gz
mana-61d02a395b0ca594640f0fb917d7162a5aba2c37.tar.bz2
mana-61d02a395b0ca594640f0fb917d7162a5aba2c37.tar.xz
mana-61d02a395b0ca594640f0fb917d7162a5aba2c37.zip
Merge branch 'master' into online-player-listonline-player-list
Conflicts: src/net/tmwa/chathandler.cpp
Diffstat (limited to 'packaging/msys2-build.sh')
-rwxr-xr-xpackaging/msys2-build.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/packaging/msys2-build.sh b/packaging/msys2-build.sh
new file mode 100755
index 00000000..209e725f
--- /dev/null
+++ b/packaging/msys2-build.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+pacman --noconfirm -S \
+ mingw-w64-ucrt-x86_64-gcc \
+ mingw-w64-ucrt-x86_64-cmake \
+ mingw-w64-ucrt-x86_64-physfs \
+ mingw-w64-ucrt-x86_64-curl-winssl \
+ mingw-w64-ucrt-x86_64-SDL2_image \
+ mingw-w64-ucrt-x86_64-SDL2_mixer \
+ mingw-w64-ucrt-x86_64-SDL2_net \
+ mingw-w64-ucrt-x86_64-SDL2_ttf \
+ mingw-w64-ucrt-x86_64-libxml2 \
+ mingw-w64-ucrt-x86_64-nsis
+
+cmake -B build . -DUSE_SYSTEM_GUICHAN=OFF -DCMAKE_BUILD_TYPE=Release
+cmake --build build
+pushd build
+cpack