]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Add RC_PATH define for VS2017/2019
authorSean Brogan <sean.brogan@microsoft.com>
Tue, 8 Oct 2019 02:54:21 +0000 (19:54 -0700)
committerMichael D Kinney <michael.d.kinney@intel.com>
Mon, 11 Nov 2019 21:01:46 +0000 (13:01 -0800)
commit7569e35bc9f965c4b385d7cc91118228c1d93716
tree88c67bc816d5c402de6bbba5c2182532bbf64c22
parentab5892f260b0a49f85038e9cab7da4576b8b1874
BaseTools: Add RC_PATH define for VS2017/2019

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

Add use of RC_PATH define that provides the path to the resource
compiler that is typically provided in a Windows SDK.  The path
changes with different Windows SDK releases.  This define is set
to the WINSDK_PATH_FOR_RC_EXE environment variable.  This
environment variable must be set to the path to the currently
installed resource compiler (rc.exe).

Update set_vsprefix_envs.bat to set WINSDK_PATH_FOR_RC_EXE
if a Windows SDK is detected.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Conf/tools_def.template
BaseTools/set_vsprefix_envs.bat