]> git.proxmox.com Git - mirror_edk2.git/commit
Add VS2019 Support on ToolSetup Batches
authorCheng, Ching JenX <ching.jenx.cheng@intel.com>
Thu, 19 Sep 2019 08:52:26 +0000 (16:52 +0800)
committerLiming Gao <liming.gao@intel.com>
Mon, 23 Sep 2019 14:42:41 +0000 (22:42 +0800)
commit670c903a68f214463f12c0c9619c162a0f342518
tree7239e4b3aa21748c979fc32f6ef1df11794b8b22
parent7a25b3da78444c2400a5be6555b2735de2d4acb0
Add VS2019 Support on ToolSetup Batches

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2182

Inorder to support VS2019, we add VS2019 config process
in Setup Batch Files,
Because VS2019 and VS2017 could using same vswhere.exe
to detect the InstallationPath,
So we add the -version as the parameter of vswhere
to get the correct VS2017/VS2019's InstallationPath

v3: In BaseTools\set_vsprefix_envs.bat,
    move WINSDK10_PREFIX setting into VCToolsInstallDir check condition.

Cc: Amy Chan <amy.chan@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Ching JenX Cheng <ching.jenx.cheng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Pete Batard <pete@akeo.ie>
BaseTools/get_vsvars.bat
BaseTools/set_vsprefix_envs.bat
BaseTools/toolsetup.bat
edksetup.bat