mirror of
https://github.com/godotengine/godot.git
synced 2024-12-17 16:44:13 +00:00
27 lines
525 B
Python
27 lines
525 B
Python
#!/usr/bin/env python
|
|
|
|
Import('env')
|
|
|
|
iphone_lib = [
|
|
|
|
'os_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)
|