summaryrefslogtreecommitdiff
path: root/platform/winrt/SCsub
blob: 5259e7dc22689bcdc1ccab3318f9f54d592e31a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env python

Import('env')

files = [
    'thread_winrt.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',
    'joystick_winrt.cpp',
    'gl_context_egl.cpp',
    'app.cpp',
    'os_winrt.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])