2016-10-17 14:50:25 +08:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2020-03-30 14:28:32 +08:00
|
|
|
Import("env")
|
2014-09-15 22:33:30 +08:00
|
|
|
|
|
|
|
files = [
|
2020-03-30 14:28:32 +08:00
|
|
|
"#platform/windows/key_mapping_windows.cpp",
|
|
|
|
"#platform/windows/windows_terminal_logger.cpp",
|
|
|
|
"joypad_uwp.cpp",
|
|
|
|
"context_egl_uwp.cpp",
|
2021-09-24 07:19:49 +08:00
|
|
|
"app_uwp.cpp",
|
2020-03-30 14:28:32 +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"]:
|
2020-03-30 14:28:32 +08:00
|
|
|
cmd = env.AlwaysBuild(env.ANGLE("libANGLE.lib", None))
|
2016-09-04 06:25:43 +08:00
|
|
|
|
2020-03-30 14:28:32 +08:00
|
|
|
prog = env.add_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])
|