Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

### macOS

```bash
brew install dylibbundler
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 \
-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

#### Prerequisites
Expand Down