2016-10-17 06:50:25 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2014-09-15 14:33:30 +00:00
|
|
|
Import('env')
|
|
|
|
|
|
|
|
files = [
|
2016-11-02 21:26:55 +00:00
|
|
|
'thread_winrt.cpp',
|
2016-09-03 22:25:43 +00: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',
|
|
|
|
'joystick_winrt.cpp',
|
2016-11-02 21:26:55 +00:00
|
|
|
'gl_context_egl.cpp',
|
2016-09-03 22:25:43 +00:00
|
|
|
'audio_driver_winrt.cpp',
|
2016-11-02 21:26:55 +00:00
|
|
|
'app.cpp',
|
|
|
|
'os_winrt.cpp',
|
2014-09-15 14:33:30 +00:00
|
|
|
]
|
|
|
|
|
2016-09-20 23:02:58 +00:00
|
|
|
if "build_angle" in env and env["build_angle"]:
|
|
|
|
cmd = env.AlwaysBuild(env.ANGLE('libANGLE.lib', None))
|
2016-09-03 22:25:43 +00:00
|
|
|
|
|
|
|
prog = env.Program('#bin/godot', files)
|
2016-09-20 23:02:58 +00:00
|
|
|
|
|
|
|
if "build_angle" in env and env["build_angle"]:
|
|
|
|
env.Depends(prog, [cmd])
|