From 60d4f3c2eabf8a599b9725a62b0b1b12876cd7bd Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Wed, 11 Feb 2015 20:49:05 -0800 Subject: [PATCH] Shots in the dark while upgrading VS CTP. Appveyor latency sucks :| --- xenia-build.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xenia-build.py b/xenia-build.py index e80b14130..840ed0083 100644 --- a/xenia-build.py +++ b/xenia-build.py @@ -75,7 +75,11 @@ def import_vs_environment(): """ version = 0 tools_path = '' - if 'VS140COMNTOOLS' in os.environ: + if 'VS150COMNTOOLS' in os.environ: + version = 2015 + tools_path = os.environ['VS150COMNTOOLS'] + elif 'VS140COMNTOOLS' in os.environ: + # TODO(benvanik): remove preview tools. version = 2015 tools_path = os.environ['VS140COMNTOOLS'] elif 'VS120COMNTOOLS' in os.environ: