From 6e5a355fc856463d9bdef22a4cd339b97f129ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Mon, 26 Oct 2026 07:11:33 +0300 Subject: [PATCH] check for raylib ios --- util/paths | 2 ++ util/prepare-ogs-blue-ios | 1 + util/step/checkRaylibIOS | 15 +++++++++++++++ 3 files changed, 18 insertions(+) create mode 100755 util/step/checkRaylibIOS diff --git a/util/paths b/util/paths index e69de29..3c59328 100644 --- a/util/paths +++ b/util/paths @@ -0,0 +1,2 @@ +RAYLIB_IOS_EGL="raylib-iOS/deps/ANGLE/libEGL.xcframework" +RAYLIB_IOS_GLES="raylib-iOS/deps/ANGLE/libGLESv2.xcframework" diff --git a/util/prepare-ogs-blue-ios b/util/prepare-ogs-blue-ios index e523f01..d243173 100755 --- a/util/prepare-ogs-blue-ios +++ b/util/prepare-ogs-blue-ios @@ -7,5 +7,6 @@ source $SDIR/paths TARGET=ogs-blue STEP=0 +source $T/checkRaylibIOS $TARGET source $T/generateDialect $TARGET source $T/prepareIOS $TARGET diff --git a/util/step/checkRaylibIOS b/util/step/checkRaylibIOS new file mode 100755 index 0000000..d127a9b --- /dev/null +++ b/util/step/checkRaylibIOS @@ -0,0 +1,15 @@ +#!/bin/bash -e + +DEP="raylib-iOS" + +STEP=$((STEP+1)) +echo -e "\n> > > > Step №$STEP. Check $DEP presence" + +MISSING=0 +[[ -e $SDIR/../../$RAYLIB_IOS_EGL ]] || MISSING=1 +[[ -e $SDIR/../../$RAYLIB_IOS_GLES ]] || MISSING=1 + +if [[ $MISSING -eq 1 ]]; then + echo "$DEP not found alongside this project" + exit 1 +fi