2016-10-17 08:50:25 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2020-03-30 08:28:32 +02:00
|
|
|
Import("env")
|
2014-09-15 16:33:30 +02:00
|
|
|
|
|
|
|
files = [
|
2020-03-30 08:28:32 +02:00
|
|
|
"#platform/windows/key_mapping_windows.cpp",
|
|
|
|
"#platform/windows/windows_terminal_logger.cpp",
|
|
|
|
"joypad_uwp.cpp",
|
|
|
|
"power_uwp.cpp",
|
|
|
|
"context_egl_uwp.cpp",
|
|
|
|
"app.cpp",
|
|
|
|
"os_uwp.cpp",
|
2014-09-15 16:33:30 +02:00
|
|
|
]
|
|
|
|
|
2016-09-21 01:02:58 +02:00
|
|
|
if "build_angle" in env and env["build_angle"]:
|
2020-03-30 08:28:32 +02:00
|
|
|
cmd = env.AlwaysBuild(env.ANGLE("libANGLE.lib", None))
|
2016-09-04 00:25:43 +02:00
|
|
|
|
2020-03-30 08:28:32 +02:00
|
|
|
prog = env.add_program("#bin/godot", files)
|
2016-09-21 01:02:58 +02:00
|
|
|
|
|
|
|
if "build_angle" in env and env["build_angle"]:
|
2016-10-30 18:44:57 +01:00
|
|
|
env.Depends(prog, [cmd])
|