Support iOS for ogs-blue (#7)

This commit was merged in pull request #7.
This commit is contained in:
kornerr committed 2026-10-30 15:17:24 +01:00
1 parent 37c4e6f442
commit 2b556a4a58
58 files changed
+710 -300

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
#!/bin/bash -e
TARGET=$1
STEP=$((STEP+1))
echo -e "\n> > > > Step №$STEP. Prepare ANGLE includes for '$TARGET'"
BUILD=$SDIR/../$TARGET/ver-ios/.build
INC=$BUILD/include
LIB=$BUILD/lib
mkdir -p $INC $LIB
# Create EGL and GLES symlinks because their internal includes refer to each other
# without knowing of XCFramework bounderies
ln -sfn "$SDIR/../../$RAYLIB_IOS_EGL/ios-arm64_x86_64-simulator/libEGL.framework/Headers" "$INC/libEGL"
ln -sfn "$SDIR/../../$RAYLIB_IOS_GLES/ios-arm64_x86_64-simulator/libGLESv2.framework/Headers" "$INC/libGLESv2"
# Symlink libraries for convenience, too
ln -sfn "$SDIR/../../$RAYLIB_IOS" "$LIB"
ln -sfn "$SDIR/../../$RAYLIB_IOS_EGL" "$LIB"
ln -sfn "$SDIR/../../$RAYLIB_IOS_GLES" "$LIB"