summaryrefslogtreecommitdiff
path: root/BaseTools/Scripts/SetVisualStudio.bat
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2015-12-22 01:19:26 +0000
committervanjeff <vanjeff@Edk2>2015-12-22 01:19:26 +0000
commit6eb6ec20158fe7c85b0edea45c57a1512d59581f (patch)
tree57420ae69fdd1b1b9994bad9eb4e13b669032c63 /BaseTools/Scripts/SetVisualStudio.bat
parentc329f50012be7c74842355da1e274b4de16b75d5 (diff)
downloadedk2-platforms-6eb6ec20158fe7c85b0edea45c57a1512d59581f.tar.xz
BaseTools: Update Scripts to support VS2015 env
edk2 Edk2Setup.bat depends on those scripts to configure VS env. Update them to support VS2015. (Sync patch r19431 from main trunk.) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19434 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Scripts/SetVisualStudio.bat')
-rwxr-xr-xBaseTools/Scripts/SetVisualStudio.bat5
1 files changed, 5 insertions, 0 deletions
diff --git a/BaseTools/Scripts/SetVisualStudio.bat b/BaseTools/Scripts/SetVisualStudio.bat
index d379cd73df..de2f91274d 100755
--- a/BaseTools/Scripts/SetVisualStudio.bat
+++ b/BaseTools/Scripts/SetVisualStudio.bat
@@ -25,6 +25,11 @@
:CheckLatest
echo.
+@if defined VS140COMNTOOLS (
+ @set "COMMONTOOLSx64=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"
+ @goto SetVs
+)
+
@if defined VS120COMNTOOLS (
@set "COMMONTOOLSx64=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64"
@goto SetVs