mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
30783d57cc
Moved previously builtin modules 'GameCenter', 'AppStore', 'iCloud' to separate modules to be represented as plugin. Modified 'ARKit' and 'Camera' to not be builtin into engine and work as plugin. Changed platform code so it's not affected by the move. Modified Xcode project file to remove parameters that doesn't make any effect. Added basic '.gdip' plugin config file.
16 lines
453 B
Python
16 lines
453 B
Python
#!/usr/bin/env python
|
|
|
|
Import("env")
|
|
Import("env_modules")
|
|
|
|
env_icloud = env_modules.Clone()
|
|
|
|
# (iOS) Enable module support
|
|
env_icloud.Append(CCFLAGS=["-fmodules", "-fcxx-modules"])
|
|
|
|
# (iOS) Build as separate static library
|
|
modules_sources = []
|
|
env_icloud.add_source_files(modules_sources, "*.cpp")
|
|
env_icloud.add_source_files(modules_sources, "*.mm")
|
|
mod_lib = env_modules.add_library("#bin/libgodot_icloud_module" + env["LIBSUFFIX"], modules_sources)
|