build-vs2022.cmd 350 B

12345678910111213141516
  1. REM Copyright The OpenTelemetry Authors
  2. REM SPDX-License-Identifier: Apache-2.0
  3. REM Build with Visual Studio 2022
  4. set "BUILDTOOLS_VERSION=vs2022"
  5. set ARCH=x64
  6. if NOT "%1"=="" (
  7. set ARCH=%1
  8. )
  9. if "%ARCH%"=="x64" (
  10. REM Parameter needed for CMake Visual Studio 2022 generator
  11. set CMAKE_ARCH=x64
  12. )
  13. cd %~dp0
  14. call setup-buildtools.cmd
  15. call build.cmd