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.
23 lines
554 B
Plaintext
23 lines
554 B
Plaintext
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])
|