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:
22
modules/mono/build_scripts/mono_configure.py
Normal file
22
modules/mono/build_scripts/mono_configure.py
Normal file
@@ -0,0 +1,22 @@
|
||||
def is_desktop(platform):
|
||||
return platform in ["windows", "macos", "linuxbsd"]
|
||||
|
||||
|
||||
def is_unix_like(platform):
|
||||
return platform in ["macos", "linuxbsd", "android", "ios"]
|
||||
|
||||
|
||||
def module_supports_tools_on(platform):
|
||||
return is_desktop(platform)
|
||||
|
||||
|
||||
def configure(env, env_mono):
|
||||
# is_android = env["platform"] == "android"
|
||||
# is_web = env["platform"] == "web"
|
||||
# is_ios = env["platform"] == "ios"
|
||||
# is_ios_sim = is_ios and env["arch"] in ["x86_32", "x86_64"]
|
||||
|
||||
if env.editor_build:
|
||||
if not module_supports_tools_on(env["platform"]):
|
||||
raise RuntimeError("This module does not currently support building for this platform for editor builds.")
|
||||
env_mono.Append(CPPDEFINES=["GD_MONO_HOT_RELOAD"])
|
Reference in New Issue
Block a user