Remove -WX to prevent compilation errors for users when a symbol becomes deprecated
Fixes: #5048 PiperOrigin-RevId: 960463020 Change-Id: I88690156683c995735c1c7495addab67a66b7877
This commit is contained in:
committed by
Copybara-Service
parent
4f472747b1
commit
4cb0ab12a1
@@ -19,6 +19,7 @@ IF %errorlevel% neq 0 EXIT /B 1
|
||||
SET CMAKE_BUILD_PATH=cmake_msvc2022
|
||||
MKDIR %CMAKE_BUILD_PATH%
|
||||
CD %CMAKE_BUILD_PATH%
|
||||
SET CXXFLAGS="/WX"
|
||||
|
||||
%CMAKE_BIN% %GTEST_ROOT% ^
|
||||
-G "Visual Studio 17 2022" ^
|
||||
@@ -37,6 +38,7 @@ IF %errorlevel% neq 0 EXIT /B 1
|
||||
%CTEST_BIN% -C Debug --timeout 600
|
||||
IF %errorlevel% neq 0 EXIT /B 1
|
||||
|
||||
SET "CXXFLAGS="
|
||||
CD %GTEST_ROOT%
|
||||
RMDIR /S /Q %CMAKE_BUILD_PATH%
|
||||
|
||||
|
||||
Reference in New Issue
Block a user