6def32d643
`#pragma once` was used in a few files, yet we settled on using traditional include guards instead. The PooledList template comment was also moved to allow editors such as Visual Studio Code to display the comment when hovering PooledList. `app.h` was renamed to `app_uwp.h` to be less generic for the include guard.
20 lines
469 B
Python
20 lines
469 B
Python
#!/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])
|