| 1 |
cmake -S. -Bbuild -DCMAKE_INSTALL_PREFIX:PATH=. -DENABLE_GTEST:BOOL=ON -DCMAKE_BUILD_TYPE=Debug |
| 2 |
cmake --build build --config Debug --target install |
| 3 |
cd build |
| 4 |
ctest --verbose -C Debug > ctest.log 2>&1 |
| 5 |
set TEST_ERROR=%ERRORLEVEL% |
| 6 |
type ctest.log |
| 7 |
exit /b %TEST_ERROR% |