# Stratagus/Stargus/Wargus build instructions: # It is assumed you have Xcode command-line tools and Homebrew already installed # Install the following dependencies (There may be more than listed here, add as required) brew install cmake sdl2 sdl2_mixer sdl2_image lua libpng ninja meson ffmpeg # Copy and paste everything below into terminal # You should find the Warg1us, Wargus and Stargus apps in the folder where you started git clone --recurse-submodules https://github.com/Wargus/stratagus git clone --recurse-submodules https://github.com/Wargus/war1gus git clone --recurse-submodules https://github.com/Wargus/wargus git clone https://github.com/Wargus/stargus # STRATAGUS cd stratagus mkdir build && cd build cmake .. -DBUILD_VENDORED_LUA=ON && make cd ... export STRATAGUS_INCLUDE_DIR=${PWD}/stratagus/gameheaders export STRATAGUS=${PWD}/stratagus/build/stratagus # WAR1GUS cd war1gus mkdir build && cd build cmake .. -DSTRATAGUS_INCLUDE_DIR=${PWD}/../../stratagus/gameheaders -DSTRATAGUS=${PWD}/../../stratagus/build/stratagus && make cd ../mac ./bundle.sh cp -a War1gus.app ... cd ... # WARGUS cd wargus mkdir build && cd build cmake .. -DSTRATAGUS_INCLUDE_DIR=${PWD}/../../stratagus/gameheaders -DSTRATAGUS=${PWD}/../../stratagus/build/stratagus && make cd ../mac ./bundle.sh cp -a Wargus.app ... cd ... # STARGUS cd stargus meson setup -DSTRATAGUS_INCLUDE_DIR=$STRATAGUS_INCLUDE_DIR -DSTRATAGUS_BIN=$STRATAGUS build ninja -C build cd mac ./bundle.sh cp -a Stargus.app ... cd ...