2016-10-17 14:50:25 +08:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2014-09-15 22:33:30 +08:00
|
|
|
Import('env')
|
|
|
|
|
|
|
|
files = [
|
2016-11-03 04:26:42 +08:00
|
|
|
'thread_uwp.cpp',
|
2016-10-31 01:44:57 +08:00
|
|
|
'#platform/windows/tcp_server_winsock.cpp',
|
|
|
|
'#platform/windows/packet_peer_udp_winsock.cpp',
|
|
|
|
'#platform/windows/stream_peer_winsock.cpp',
|
|
|
|
'#platform/windows/key_mapping_win.cpp',
|
2017-01-09 04:29:57 +08:00
|
|
|
'joypad_uwp.cpp',
|
2017-04-29 22:48:23 +08:00
|
|
|
'power_uwp.cpp',
|
2016-10-31 01:44:57 +08:00
|
|
|
'gl_context_egl.cpp',
|
|
|
|
'app.cpp',
|
2016-11-03 04:26:42 +08:00
|
|
|
'os_uwp.cpp',
|
2014-09-15 22:33:30 +08:00
|
|
|
]
|
|
|
|
|
2016-09-21 07:02:58 +08:00
|
|
|
if "build_angle" in env and env["build_angle"]:
|
2016-10-31 01:44:57 +08:00
|
|
|
cmd = env.AlwaysBuild(env.ANGLE('libANGLE.lib', None))
|
2016-09-04 06:25:43 +08:00
|
|
|
|
|
|
|
prog = env.Program('#bin/godot', files)
|
2016-09-21 07:02:58 +08:00
|
|
|
|
|
|
|
if "build_angle" in env and env["build_angle"]:
|
2016-10-31 01:44:57 +08:00
|
|
|
env.Depends(prog, [cmd])
|