check for raylib ios

This commit is contained in:
Михаил Капелько committed 2026-10-26 07:11:33 +03:00
1 parent 5a875b44a8
commit 6e5a355fc8
3 files changed
+18

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
RAYLIB_IOS_EGL="raylib-iOS/deps/ANGLE/libEGL.xcframework"
RAYLIB_IOS_GLES="raylib-iOS/deps/ANGLE/libGLESv2.xcframework"
+1
View File
@@ -7,5 +7,6 @@ source $SDIR/paths
TARGET=ogs-blue TARGET=ogs-blue
STEP=0 STEP=0
source $T/checkRaylibIOS $TARGET
source $T/generateDialect $TARGET source $T/generateDialect $TARGET
source $T/prepareIOS $TARGET source $T/prepareIOS $TARGET
+15
View File
@@ -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