f5b3b24c22
- The export process now builds complete .ipa on macOS, instead of just creating XCode project. - The project includes Capabilities games usually require: Game Center, Push Notifications, In-App Purchase. - Icons and launch screens can be specified in export preset.
13 lines
328 B
Python
13 lines
328 B
Python
#!/usr/bin/env python
|
|
|
|
Import('env')
|
|
|
|
mod_env = env.Clone()
|
|
mod_env.add_source_files(env.modules_sources, "*.cpp")
|
|
mod_env.Append(CPPPATH='#modules/gdnative')
|
|
mod_env.Append(CPPFLAGS=['-DGDAPI_BUILT_IN'])
|
|
|
|
if "platform" in env and env["platform"] in ["x11", "iphone"]:
|
|
env.Append(LINKFLAGS=["-rdynamic"])
|
|
|
|
Export('mod_env')
|