24 lines
596 B
Python
24 lines
596 B
Python
#!/usr/bin/env python
|
|
|
|
Import('env')
|
|
|
|
files = [
|
|
'thread_uwp.cpp',
|
|
'#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',
|
|
'joypad_uwp.cpp',
|
|
'power_uwp.cpp',
|
|
'gl_context_egl.cpp',
|
|
'app.cpp',
|
|
'os_uwp.cpp',
|
|
]
|
|
|
|
if "build_angle" in env and env["build_angle"]:
|
|
cmd = env.AlwaysBuild(env.ANGLE('libANGLE.lib', None))
|
|
|
|
prog = env.Program('#bin/godot', files)
|
|
|
|
if "build_angle" in env and env["build_angle"]:
|
|
env.Depends(prog, [cmd])
|