Vita3K-Android/gen-macos.sh
ichisadashioko f557ea739e
vita3k: update build instructions (#686)
- Turn off USE_DISCORD_RICH_PRESENCE because the binaries are not always
compatible with Linux build.
- Update build instructions for Linux, Windows and macOS
- Update ext-boost for fixing missing headers
2020-04-29 15:12:28 -04:00

22 lines
425 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
# CI uses pre-built Boost
if [[ -z "${CI}" ]]; then
# Create build dir
mkdir -p external/boost-build
cd external/boost
chmod +x tools/build/src/engine/build.sh
sh bootstrap.sh
# Build our Boost subset
./b2 -j$(sysctl -n hw.logicalcpu) --build-dir=../boost-build --stagedir=../boost-build stage
cd ../..
fi
# Generate project files
mkdir -p build-macos
cd build-macos
cmake -G Xcode ..