imgui-frontend-engineer: add build helper scripts

This commit is contained in:
scawful
2025-12-28 10:58:16 -06:00
parent c9df4372d7
commit 636229c097
3 changed files with 198 additions and 0 deletions

17
scripts/build-ios.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
PRESET="${1:-ios-debug}"
cmake --preset "${PRESET}"
cmake --build --preset "${PRESET}"
if ! command -v xcodegen >/dev/null 2>&1; then
echo "xcodegen not found. Install with: brew install xcodegen" >&2
exit 1
fi
(cd "${ROOT_DIR}/src/ios" && xcodegen)
echo "Generated Xcode project at ${ROOT_DIR}/src/ios/yaze_ios.xcodeproj"