summaryrefslogtreecommitdiff
path: root/platform/isim/SCsub
blob: 2bd65cb49bd53d7f3b18fcaa6a8ff67cffbd2c15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Import('env')

iphone_lib = [

	'#platform/iphone/os_iphone.cpp',
	#'#platform/iphone/rasterizer_iphone.cpp',
	'#platform/iphone/audio_driver_iphone.cpp',
	'#platform/iphone/sem_iphone.cpp',
	'#platform/iphone/gl_view.mm',
	'#platform/iphone/main.m',
	'#platform/iphone/app_delegate.mm',
	'#platform/iphone/view_controller.mm',
	'#platform/iphone/game_center.mm',
	'#platform/iphone/in_app_store.mm',
	'#platform/iphone/Appirater.m',
]


#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('#platform/iphone/godot_iphone.cpp')

prog = None
prog = env_ios.Program('#bin/godot', [obj] + iphone_lib)