Skip to content

Commit

Permalink
Captured cmake result and returned in the end of the bat execution
Browse files Browse the repository at this point in the history
  • Loading branch information
affonsov committed Jan 5, 2024
1 parent 59a015f commit f491591
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp/src/flightsql_odbc/flightsql-odbc/build_win32.bat
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,8 @@ cmake ..^

cmake --build . --parallel 8 --config Release

set CMAKE_RESULT=%ERRORLEVEL%

cd ..

exit /b %CMAKE_RESULT%
4 changes: 4 additions & 0 deletions cpp/src/flightsql_odbc/flightsql-odbc/build_win64.bat
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,8 @@ cmake ..^

cmake --build . --parallel 8 --config Release

set CMAKE_RESULT=%ERRORLEVEL%

cd ..

exit /b %CMAKE_RESULT%

0 comments on commit f491591

Please sign in to comment.