mirror of
https://github.com/godotengine/godot.git
synced 2024-11-11 06:33:10 +00:00
16 lines
448 B
Python
16 lines
448 B
Python
#!/usr/bin/env python
|
|
|
|
Import("env")
|
|
Import("env_modules")
|
|
|
|
env_arkit = env_modules.Clone()
|
|
|
|
# (iOS) Enable module support
|
|
env_arkit.Append(CCFLAGS=["-fmodules", "-fcxx-modules"])
|
|
|
|
# (iOS) Build as separate static library
|
|
modules_sources = []
|
|
env_arkit.add_source_files(modules_sources, "*.cpp")
|
|
env_arkit.add_source_files(modules_sources, "*.mm")
|
|
mod_lib = env_modules.add_library("#bin/libgodot_arkit_module" + env["LIBSUFFIX"], modules_sources)
|