summaryrefslogtreecommitdiff
path: root/BaseTools/Plugin/WindowsVsToolChain
AgeCommit message (Collapse)AuthorFilesLines
2026-07-01BaseTools: Remove VS2017 supportMichael Kubacki1-75/+3
Removes Visual Studio 2017 support from BaseTools. Newer toolchains (VS2019, VS2022, and VS2026) are supported in its place. This removes the VS2017 toolchain definitions from tools_def.template, the VS2017 environment setup logic in toolsetup.bat, set_vsprefix_envs.bat, and get_vsvars.bat, and the VS2017 configuration in the WindowsVsToolChain build plugin. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
2026-03-07BaseTools/WindowsVsToolChain.py: Minor code style updatesMike Beaton1-2/+2
Fixes: 0b867b65a2c1b30a822e09572323495478778e81 Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
2026-01-29BaseTools/Plugin/WindowsVsToolChain: Add WindowsSDKLibVersionMichael D Kinney1-1/+1
Fix VS20xx build failures in GitHub Actions windows-2025 environments due to missing libraries. Add WindowsSDKLibVersion to the set of environment variables that are set in a Windows Visual Studio build environment. WindowsSDKLibVersion is required to set LIBPATH for VS20xx builds of the EmulatorPkg and Host-based unit tests. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
2026-01-29BaseTools/Plugin/WindowsVsToolChain: CLANGPDB add IA32 DLLs to PathMichael D Kinney1-0/+9
Add %VCToolsInstallDir%\bin\Hostx64\x86 to PATH to add DLLs required for IA32 host-based unit tests to execute. Some Visual Studio environments add the IA32 DLL path to PATH and some do not. The failure was observed in GitHub Action windows-2025 agents where the X64 DLL path was added, but the IA32 DLL path was missing. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
2026-01-07BaseTools: Add VS2026 support.Daniel1-1/+73
Adding tools_def for VS2026. Update WindowsVsToolChain to support VS2026. Update set_vsPrefix_envs and toolsetup and edksetup to support VS2026. Signed-off-by: Daniel Grobert <danalexgro@gmail.com>
2026-01-06BaseTools/WindowsVsToolChain: Add CLANG supportMichael D Kinney1-54/+127
Add logic to detect CLANG environments and set the required environment variables. The CLANGPDB tool chain tag in Windows environments can be used with Visual Studio compiler or Mingw CLANG compiler. Add detection of Mingw CLANG compiler first and if Mingw not detected, then use the existing logic for using Visual Studio. The CLANGDWARF tool chain tag in Windows environments can only be used with Mingw CLANG compiler. Add detection of Mingw CLANG compiler first and if Mingw not detected, then fail with an error. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
2025-09-26BaseTools: Remove ARM32 SupportOliver Smith-Denny1-8/+4
edk2 is dropping support for the ARM32 architecture. This commit removes ARM32 code from BaseTools. Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
2024-07-08BaseTools: Add VS2022 support.Matthew Carlson1-1/+157
Adding tools_def for VS2022. Update WindowsVsToolChain to support VS2022. Update set_vsPrefix_envs and toolsetup and edksetup to support VS2022. Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
2023-02-16BaseTools: Update WindowsVsToolChain pluginJoey Vagedes1-4/+12
This patch updates edk2-pytool-library dependency to v0.14.0, which has an interface change to FindWithVsWhere. The BaseTools plugin uses this function, so it is being updated to account for the interface change. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Yuwei Chen <yuwei.chen@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Joey Vagedes <joeyvagedes@microsoft.com> Acked-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
2020-04-13BaseTools/WindowsVsToolChain.py: Update toolchain pluginShenglei Zhang1-11/+62
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2659 Allow WindowsVsToolChain Plugin to add libraries and headers of user defined ARCH for VS2017 and VS2019. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Bret Barkelew <bret.barkelew@microsoft.com>
2020-02-07BaseTools/WindowsVsToolChain: Setup VS2017/VS2019 envSean Brogan1-0/+23
https://bugzilla.tianocore.org/show_bug.cgi?id=2495 Update the WindowsVsToolChain plugin to setup the VS2017 or VS2019 development environment. This is required to build BaseTools and Structured PCD host applications. Cc: Sean Brogan <sean.brogan@microsoft.com> 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: Bob Feng <bob.c.feng@intel.com>
2020-02-07BaseTools/WindowsVsToolChain: Clean up Python source formattingSean Brogan1-19/+26
https://bugzilla.tianocore.org/show_bug.cgi?id=2495 Cc: Sean Brogan <sean.brogan@microsoft.com> 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: Bob Feng <bob.c.feng@intel.com>
2019-11-12BaseTools: Add BaseTools plugins to support CISean Brogan2-0/+137
https://bugzilla.tianocore.org/show_bug.cgi?id=2315 Add the following plugins that are required to support EDK II Continuous Integration (CI) builds. These plugins are added to BaseTools because that support EDK II BaseTools features. * BuildToolsReportGenerator * LinuxGcc5ToolChain * WindowsResourceCompiler * WindowsVsToolChain 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>