summaryrefslogtreecommitdiff
path: root/platform/uwp/SCsub
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2016-11-02 18:26:42 -0200
committerGeorge Marques <george@gmarqu.es>2016-11-03 14:51:08 -0200
commitfb5a73a39fb7e6e5924db362062cba628525028a (patch)
tree531b765bbb043efad9ebe28a116985c3ea5d9f67 /platform/uwp/SCsub
parent69932149bbbb24dd6f6f25877afc3b5cc0ca16ad (diff)
Rename WinRT files to UWP
Diffstat (limited to 'platform/uwp/SCsub')
-rw-r--r--platform/uwp/SCsub23
1 files changed, 23 insertions, 0 deletions
diff --git a/platform/uwp/SCsub b/platform/uwp/SCsub
new file mode 100644
index 0000000000..430d4ef9e7
--- /dev/null
+++ b/platform/uwp/SCsub
@@ -0,0 +1,23 @@
+#!/usr/bin/env python
+
+Import('env')
+
+files = [
+ 'thread_uwp.cpp',
+ '#platform/windows/tcp_server_winsock.cpp',
+ '#platform/windows/packet_peer_udp_winsock.cpp',
+ '#platform/windows/stream_peer_winsock.cpp',
+ '#platform/windows/key_mapping_win.cpp',
+ 'joystick_uwp.cpp',
+ 'gl_context_egl.cpp',
+ 'app.cpp',
+ 'os_uwp.cpp',
+]
+
+if "build_angle" in env and env["build_angle"]:
+ cmd = env.AlwaysBuild(env.ANGLE('libANGLE.lib', None))
+
+prog = env.Program('#bin/godot', files)
+
+if "build_angle" in env and env["build_angle"]:
+ env.Depends(prog, [cmd])