561c1f17a1
Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.
42 lines
888 B
Python
42 lines
888 B
Python
#!/usr/bin/env python
|
|
|
|
Import('env')
|
|
|
|
iphone_lib = [
|
|
|
|
'os_iphone.cpp',
|
|
#'rasterizer_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',
|
|
#'Appirater.m',
|
|
'ios.mm',
|
|
]
|
|
|
|
#env.Depends('#core/math/vector3.h', 'vector3_psp.h')
|
|
|
|
#iphone_lib = env.Library('iphone', iphone_lib)
|
|
|
|
env_ios = env.Clone();
|
|
|
|
|
|
if env['ios_gles22_override'] == "yes":
|
|
env_ios.Append(CPPFLAGS=['-DGLES2_OVERRIDE'])
|
|
|
|
|
|
#if env['ios_appirater'] == "yes":
|
|
# env_ios.Append(CPPFLAGS=['-DAPPIRATER_ENABLED'])
|
|
|
|
|
|
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)
|