e91a267a7c
Tried to organize the configure(env) calls in sections, using the same order for all platforms whenever possible. Apart from cosmetic changes, the following issues were fixed: - Android: cleanup linkage, remove GLESv1_CM and GLESv2 - iPhone: Remove obsolete "ios_gles22_override" option - OSX: * Fix bits detection (default to 64) and remove obsolete "force_64_bits" option (closes #9449) * Make "fat" bits argument explicit - Server: sync with X11 - Windows: clean up old DirectX 9 stuff - X11: * Do not require system OpenSSL for building (closes #9443) * Fix typo'ed use_leak_sanitizer option * Fix .llvm suffix overriding custom extra_suffix
27 lines
556 B
Python
27 lines
556 B
Python
#!/usr/bin/env python
|
|
|
|
Import('env')
|
|
|
|
iphone_lib = [
|
|
|
|
'os_iphone.cpp',
|
|
'audio_driver_iphone.cpp',
|
|
'sem_iphone.cpp',
|
|
'gl_view.mm',
|
|
'main.m',
|
|
'app_delegate.mm',
|
|
'view_controller.mm',
|
|
'game_center.mm',
|
|
'in_app_store.mm',
|
|
'icloud.mm',
|
|
'ios.mm',
|
|
]
|
|
|
|
env_ios = env.Clone()
|
|
|
|
obj = env_ios.Object('godot_iphone.cpp')
|
|
|
|
prog = None
|
|
prog = env_ios.Program('#bin/godot', [obj] + iphone_lib)
|
|
action = "$IPHONEPATH/usr/bin/dsymutil " + File(prog)[0].path + " -o " + File(prog)[0].path + ".dSYM"
|
|
env.AddPostAction(prog, action)
|