forked from open-telemetry/opentelemetry-collector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detect vs2022 as build environment (open-telemetry#1212)
- Loading branch information
1 parent
ef3a623
commit 3a9d087
Showing
3 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
REM Build with Visual Studio 2022 | ||
set "BUILDTOOLS_VERSION=vs2022" | ||
set ARCH=x64 | ||
if NOT "%1"=="" ( | ||
set ARCH=%1 | ||
) | ||
if "%ARCH%"=="x64" ( | ||
REM Parameter needed for CMake Visual Studio 2022 generator | ||
set CMAKE_ARCH=x64 | ||
) | ||
cd %~dp0 | ||
call setup-buildtools.cmd | ||
call build.cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters