2016-10-17 08:50:25 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2014-09-15 16:33:30 +02:00
|
|
|
Import('env')
|
|
|
|
|
|
|
|
files = [
|
2016-11-02 21:26:42 +01:00
|
|
|
'thread_uwp.cpp',
|
2019-02-12 15:43:54 +01:00
|
|
|
'#platform/windows/key_mapping_windows.cpp',
|
2017-10-22 16:15:59 +02:00
|
|
|
'#platform/windows/windows_terminal_logger.cpp',
|
2017-01-08 21:29:57 +01:00
|
|
|
'joypad_uwp.cpp',
|
2017-04-29 16:48:23 +02:00
|
|
|
'power_uwp.cpp',
|
2019-02-12 15:43:54 +01:00
|
|
|
'context_egl_uwp.cpp',
|
2016-10-30 18:44:57 +01:00
|
|
|
'app.cpp',
|
2016-11-02 21:26:42 +01:00
|
|
|
'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"]:
|
2016-10-30 18:44:57 +01:00
|
|
|
cmd = env.AlwaysBuild(env.ANGLE('libANGLE.lib', None))
|
2016-09-04 00:25:43 +02:00
|
|
|
|
2017-11-28 21:27:57 +01: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])
|