mirror of
https://github.com/Vita3K/Vita3K-Android.git
synced 2024-12-02 18:36:34 +00:00
f557ea739e
- 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
22 lines
425 B
Bash
Executable File
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 ..
|