diff options
author | George Marques <george@gmarqu.es> | 2016-09-20 20:02:58 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2016-09-20 20:02:58 -0300 |
commit | 5c21d49caf58d949baebfc605b8dc993428a3b7b (patch) | |
tree | 18c8837cbe99df9e8d03196fc5427b4e3d2d0cde /platform/winrt/SCsub | |
parent | 1c50dfdf6c352574391c953d88732382adc15e83 (diff) |
Change winrt build to be less dependent on ANGLE
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.
Diffstat (limited to 'platform/winrt/SCsub')
-rw-r--r-- | platform/winrt/SCsub | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/platform/winrt/SCsub b/platform/winrt/SCsub index ef7a653d53..fde0c11f3b 100644 --- a/platform/winrt/SCsub +++ b/platform/winrt/SCsub @@ -13,7 +13,10 @@ files = [ 'os_winrt.cpp', ] -cmd = env.AlwaysBuild(env.ANGLE('libANGLE.lib', None)) +if "build_angle" in env and env["build_angle"]: + cmd = env.AlwaysBuild(env.ANGLE('libANGLE.lib', None)) prog = env.Program('#bin/godot', files) -env.Depends(prog, [cmd]) + +if "build_angle" in env and env["build_angle"]: + env.Depends(prog, [cmd]) |