#5370 Unity Build : Use Unity Build in appveyor

This commit is contained in:
Magne Sjaastad 2020-01-23 13:41:56 +01:00
parent fddc15b1d8
commit b5df241c51

View File

@ -5,16 +5,15 @@ branches:
image: Visual Studio 2017
clone_depth: 1
environment:
QT5: C:\Qt\5.10.1\msvc2017_64
configuration: Release
QT5: C:\Qt\5.13.2\msvc2017_64
build_script:
- cmd: >-
mkdir cmakebuild
cd cmakebuild
if exist "%QT5%" set Path=%QT5%\bin;%Path%
cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Release -DRESINSIGHT_INCLUDE_APPLICATION_UNIT_TESTS=true -DRESINSIGHT_ENABLE_COTIRE=on "-DCMAKE_PREFIX_PATH=%QT5%" ..
cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Release -DRESINSIGHT_ENABLE_UNITY_BUILD=on "-DCMAKE_PREFIX_PATH=%QT5%" ..
cmake --build . --target ResInsight_unity --config Release
cmake --build . --target ResInsight --config Release