5c21d49caf
Now it does not try to build if the solution is not found. This way it's possible to provide a minimal package with includes and libs and make it build correctly. Also remove messages from detect.py since it is ran for every platform target.
22 lines
554 B
Text
22 lines
554 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',
|
|
'audio_driver_winrt.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])
|