2016-10-17 06:50:25 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2014-09-15 14:33:30 +00:00
|
|
|
Import('env')
|
|
|
|
|
|
|
|
files = [
|
2016-11-02 20:26:42 +00:00
|
|
|
'thread_uwp.cpp',
|
2019-02-12 14:43:54 +00:00
|
|
|
'#platform/windows/key_mapping_windows.cpp',
|
2017-10-22 14:15:59 +00:00
|
|
|
'#platform/windows/windows_terminal_logger.cpp',
|
2017-01-08 20:29:57 +00:00
|
|
|
'joypad_uwp.cpp',
|
2019-02-12 14:43:54 +00:00
|
|
|
'context_egl_uwp.cpp',
|
2016-10-30 17:44:57 +00:00
|
|
|
'app.cpp',
|
2016-11-02 20:26:42 +00:00
|
|
|
'os_uwp.cpp',
|
2014-09-15 14:33:30 +00:00
|
|
|
]
|
|
|
|
|
2016-09-20 23:02:58 +00:00
|
|
|
if "build_angle" in env and env["build_angle"]:
|
2016-10-30 17:44:57 +00:00
|
|
|
cmd = env.AlwaysBuild(env.ANGLE('libANGLE.lib', None))
|
2016-09-03 22:25:43 +00:00
|
|
|
|
2017-11-28 20:27:57 +00:00
|
|
|
prog = env.add_program('#bin/godot', files)
|
2016-09-20 23:02:58 +00:00
|
|
|
|
|
|
|
if "build_angle" in env and env["build_angle"]:
|
2016-10-30 17:44:57 +00:00
|
|
|
env.Depends(prog, [cmd])
|