mid smth
This commit is contained in:
1 parent
7a0a09c2a1
commit
0af2d75754
18 files changed
+509
-37
No files matched your search
@@ -5,10 +5,76 @@ targets:
|
||||
ogs-chkgfx:
|
||||
type: application
|
||||
platform: iOS
|
||||
deploymentTarget: "15.0"
|
||||
deploymentTarget: "15.6"
|
||||
sources:
|
||||
- path: Assets.xcassets
|
||||
- path: src
|
||||
- path: ../../components/render/ios
|
||||
- path: ../../components/raybri
|
||||
- path: ../../components/other
|
||||
- path: ../../components/chkgfx/chkgfx.swift
|
||||
- path: ../../components/chkgfx/chkgfxVM.swift
|
||||
- path: ../../components/chkgfx/ios/view/ChkgfxView.swift
|
||||
dependencies:
|
||||
- framework: Frameworks/raylib.xcframework
|
||||
embed: true
|
||||
- framework: Frameworks/libEGL.xcframework
|
||||
embed: true
|
||||
- framework: Frameworks/libGLESv2.xcframework
|
||||
embed: true
|
||||
- sdk: UIKit.framework
|
||||
- sdk: SwiftUI.framework
|
||||
- sdk: QuartzCore.framework
|
||||
- sdk: CoreGraphics.framework
|
||||
- sdk: Foundation.framework
|
||||
settings:
|
||||
base:
|
||||
INFOPLIST_FILE: Info.plist
|
||||
PRODUCT_BUNDLE_IDENTIFIER: org.opengamestudio.chkgfx
|
||||
SWIFT_OBJC_BRIDGING_HEADER: ../../components/other/other-Bridging-Header.h
|
||||
HEADER_SEARCH_PATHS:
|
||||
- "$(SRCROOT)/../../components"
|
||||
- "$(SRCROOT)/../../components/raybri"
|
||||
- "$(SRCROOT)/../../components/render"
|
||||
- "$(SRCROOT)/../../components/render/ios"
|
||||
- "$(SRCROOT)/../../components/other"
|
||||
- "$(SRCROOT)/Frameworks/raylib.xcframework/ios-arm64_x86_64-simulator/raylib.framework/Headers"
|
||||
- "$(SRCROOT)/Frameworks/raylib.xcframework/ios-arm64/raylib.framework/Headers"
|
||||
- "$(SRCROOT)/Frameworks/libEGL.xcframework/ios-arm64_x86_64-simulator/Headers"
|
||||
- "$(SRCROOT)/Frameworks/libEGL.xcframework/ios-arm64/Headers"
|
||||
- "$(SRCROOT)/Frameworks/libGLESv2.xcframework/ios-arm64_x86_64-simulator/Headers"
|
||||
- "$(SRCROOT)/Frameworks/libGLESv2.xcframework/ios-arm64/Headers"
|
||||
USER_HEADER_SEARCH_PATHS:
|
||||
- "$(SRCROOT)/../../components/raybri"
|
||||
- "$(SRCROOT)/../../components/render/ios"
|
||||
- "$(SRCROOT)/Frameworks/raylib.xcframework/ios-arm64_x86_64-simulator/raylib.framework/Headers"
|
||||
- "$(SRCROOT)/Frameworks/raylib.xcframework/ios-arm64/raylib.framework/Headers"
|
||||
GCC_PREPROCESSOR_DEFINITIONS:
|
||||
- PLATFORM_IOS=1
|
||||
- GRAPHICS_API_OPENGL_ES3=1
|
||||
- GL_GLEXT_PROTOTYPES=1
|
||||
OTHER_LDFLAGS:
|
||||
- "-ObjC"
|
||||
FRAMEWORK_SEARCH_PATHS:
|
||||
- "$(SRCROOT)/Frameworks"
|
||||
- "$(SRCROOT)/Frameworks/raylib.xcframework/ios-arm64_x86_64-simulator"
|
||||
- "$(SRCROOT)/Frameworks/raylib.xcframework/ios-arm64"
|
||||
- "$(SRCROOT)/Frameworks/libEGL.xcframework/ios-arm64_x86_64-simulator"
|
||||
- "$(SRCROOT)/Frameworks/libEGL.xcframework/ios-arm64"
|
||||
- "$(SRCROOT)/Frameworks/libGLESv2.xcframework/ios-arm64_x86_64-simulator"
|
||||
- "$(SRCROOT)/Frameworks/libGLESv2.xcframework/ios-arm64"
|
||||
LD_RUNPATH_SEARCH_PATHS:
|
||||
- "$(inherited) @executable_path/Frameworks"
|
||||
postBuildScripts:
|
||||
- name: Copy res
|
||||
script: |
|
||||
# Mirror the macOS packaging: the shared res/ tree (symlinks
|
||||
# dereferenced) lands in the app bundle root, so the model is
|
||||
# at <bundle>/cube/cube.gltf
|
||||
RES="${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
||||
mkdir -p "$RES"
|
||||
cp -R -L "${SRCROOT}/../../res/." "$RES/"
|
||||
inputFiles:
|
||||
- "$(SRCROOT)/../../res"
|
||||
outputFiles:
|
||||
- "$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/cube/cube.gltf"
|
||||
Reference in new issue
Block a user