Functions/Get-VSBuildTools2022VCVarsAllPath.ps1
# Copyright (c) 2021, the WebKit for Windows project authors. Please see the # AUTHORS file for details. All rights reserved. Use of this source code is # governed by a BSD-style license that can be found in the LICENSE file. <# .Synopsis Retrieves the location for `vcvarsall.bat` within Visual Studio Build Tools 2022. .Description Retrieves the location of a Visual Studio Build Tools 2022 install and appends the path to `vcvarsall.bat`. The path should be tested before attempting to call the executable. No error checking is performed. #> function Get-VSBuildTools2022VCVarsAllPath { return (Join-Path (Get-VSBuildTools2022InstallationPath) 'VC\Auxiliary\Build\vcvarsall.bat'); } |