Fixed unit tests on MSVC

This commit is contained in:
Bartek Kryza
2023-02-07 22:18:57 +01:00
parent 865ae9d8ed
commit 43328e3e2d
3 changed files with 20 additions and 3 deletions

View File

@@ -1,4 +1,10 @@
param ($Prefix="C:\clang-uml", $BuildType="Release")
cmake -S . -B .\_build\$BuildType -DCMAKE_PREFIX_PATH="$Prefix" -Thost=x64
cmake --build .\_build\$BuildType --config $BuildType
cmake -S . -B $BuildType -DCMAKE_PREFIX_PATH="$Prefix" -Thost=x64
cmake --build $BuildType --config $BuildType
# Create compile commands in Visual Studio
# before running these tests
cd $BuildType
ctest -C $BuildType --output-on-failure
cd ..