initial commit, 4.5 stable
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
This commit is contained in:
30
platform/ios/SCsub
Normal file
30
platform/ios/SCsub
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env python
|
||||
from misc.utility.scons_hints import *
|
||||
|
||||
from platform_ios_builders import generate_bundle
|
||||
|
||||
from platform_methods import combine_libs_apple_embedded
|
||||
|
||||
Import("env")
|
||||
|
||||
ios_lib = [
|
||||
"device_metrics.mm",
|
||||
"display_layer_ios.mm",
|
||||
"display_server_ios.mm",
|
||||
"godot_view_ios.mm",
|
||||
"main_ios.mm",
|
||||
"os_ios.mm",
|
||||
]
|
||||
|
||||
env_ios = env.Clone()
|
||||
ios_lib = env_ios.add_library("ios", ios_lib)
|
||||
|
||||
# (iOS) Enable module support
|
||||
env_ios.Append(CCFLAGS=["-fmodules", "-fcxx-modules"])
|
||||
|
||||
combine_command = env_ios.CommandNoCache(
|
||||
"#bin/libgodot" + env_ios["LIBSUFFIX"], [ios_lib] + env_ios["LIBS"], env.Run(combine_libs_apple_embedded)
|
||||
)
|
||||
|
||||
if env["generate_bundle"]:
|
||||
env.AlwaysBuild(env.CommandNoCache("generate_bundle", combine_command, env.Run(generate_bundle)))
|
Reference in New Issue
Block a user