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

Import("env")

files = [
    "#platform/windows/key_mapping_windows.cpp",
    "#platform/windows/windows_terminal_logger.cpp",
    "joypad_uwp.cpp",
    "context_egl_uwp.cpp",
    "app_uwp.cpp",
    "os_uwp.cpp",
]

if "build_angle" in env and env["build_angle"]:
    cmd = env.AlwaysBuild(env.ANGLE("libANGLE.lib", None))

prog = env.add_program("#bin/godot", files)

if "build_angle" in env and env["build_angle"]:
    env.Depends(prog, [cmd])