f3102160a1
Now it's possible to compile for Windows platform if wanted. It's supported only for Windows 8 or later, so it's not enabled by default.
21 lines
527 B
Text
21 lines
527 B
Text
Import('env')
|
|
|
|
files = [
|
|
'thread_winrt.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_winrt.cpp',
|
|
'gl_context_egl.cpp',
|
|
'app.cpp',
|
|
'os_winrt.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])
|