From 2fc28ad658ab491cae61d9ae6245d0175335ef76 Mon Sep 17 00:00:00 2001 From: MacThings <98193439+MacThings@users.noreply.github.com> Date: Thu, 16 Oct 2025 22:27:54 +0200 Subject: [PATCH 1/5] Update README with macOS build instructions Added macOS build instructions to README. --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index b92e100024..143bb14d65 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,26 @@ make Note: by using the `-G` option of `cmake` you can specify a generator, e.g. `cmake -G Xcode -DCMAKE_BUILD_TYPE=Release ..` will generate an Xcode project. Please check `cmake --help` for more options. +### Especially macOS + +```bash +git clone --recursive https://github.com/Return-To-The-Roots/s25client s25client +cd s25client +mkdir -p build && cd build +cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_OSX_ARCHITECTURES=arm64 \ + -DCMAKE_PREFIX_PATH="/opt/homebrew" \ + -DENABLE_TESTS=OFF \ + -DCMAKE_CXX_FLAGS="-std=c++17 \ + -Wno-error=missing-noreturn \ + -Wno-error=deprecated-copy \ + -Wno-error=unused-parameter \ + -Wno-error=undef \ + -Wno-error=cast-qual" .. +make -j$(sysctl -n hw.ncpu) +``` + ### On Windows #### Prerequisites From 803d397534d105b529b4cdea22943c581a17040f Mon Sep 17 00:00:00 2001 From: MacThings <98193439+MacThings@users.noreply.github.com> Date: Sun, 2 Nov 2025 18:44:08 +0100 Subject: [PATCH 2/5] Update README.md --- README.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 143bb14d65..2187ecd330 100644 --- a/README.md +++ b/README.md @@ -103,18 +103,16 @@ Please check `cmake --help` for more options. git clone --recursive https://github.com/Return-To-The-Roots/s25client s25client cd s25client mkdir -p build && cd build -cmake .. \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_OSX_ARCHITECTURES=arm64 \ - -DCMAKE_PREFIX_PATH="/opt/homebrew" \ - -DENABLE_TESTS=OFF \ - -DCMAKE_CXX_FLAGS="-std=c++17 \ - -Wno-error=missing-noreturn \ - -Wno-error=deprecated-copy \ - -Wno-error=unused-parameter \ - -Wno-error=undef \ - -Wno-error=cast-qual" .. -make -j$(sysctl -n hw.ncpu) + cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_PREFIX_PATH="/opt/homebrew" \ + -DCMAKE_CXX_FLAGS=" \ + -Wno-error=missing-noreturn \ + -Wno-error=deprecated-copy \ + -Wno-error=unused-parameter \ + -Wno-error=undef \ + -Wno-error=cast-qual" .. + make -j$(sysctl -n hw.ncpu) ``` ### On Windows From d72f10b4ce79cbb3340657d05a79114cf1cfd0e2 Mon Sep 17 00:00:00 2001 From: MacThings <98193439+MacThings@users.noreply.github.com> Date: Sun, 2 Nov 2025 18:44:51 +0100 Subject: [PATCH 3/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2187ecd330..603d942de7 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ make Note: by using the `-G` option of `cmake` you can specify a generator, e.g. `cmake -G Xcode -DCMAKE_BUILD_TYPE=Release ..` will generate an Xcode project. Please check `cmake --help` for more options. -### Especially macOS +### macOS ```bash git clone --recursive https://github.com/Return-To-The-Roots/s25client s25client From b01e5aa959a87bebfb302f8a1db2d6dd6bb9d059 Mon Sep 17 00:00:00 2001 From: MacThings <98193439+MacThings@users.noreply.github.com> Date: Fri, 5 Dec 2025 15:19:31 +0100 Subject: [PATCH 4/5] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 603d942de7..9afe9869e0 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,7 @@ Please check `cmake --help` for more options. ```bash git clone --recursive https://github.com/Return-To-The-Roots/s25client s25client cd s25client +git submodule update --init --recursive mkdir -p build && cd build cmake .. \ -DCMAKE_BUILD_TYPE=Release \ From 26af1f8d212090aeed770dc3726be6d0a598f700 Mon Sep 17 00:00:00 2001 From: MacThings <98193439+MacThings@users.noreply.github.com> Date: Fri, 5 Dec 2025 15:20:17 +0100 Subject: [PATCH 5/5] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9afe9869e0..a598af02fe 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,7 @@ Please check `cmake --help` for more options. ### macOS ```bash +brew install dylibbundler git clone --recursive https://github.com/Return-To-The-Roots/s25client s25client cd s25client git submodule update --init --recursive