ResInsight/.appveyor.yml
Magne Sjaastad 74718c38fc #4473 Qt5 : Set Qt5 as default Qt version
Still possible to use Qt4 by RESINSIGHT_BUILD_WITH_QT5=OFF
2019-06-07 12:32:22 +02:00

20 lines
467 B
YAML

version: 1.0.{build}
branches:
only:
- dev
image: Visual Studio 2017
clone_depth: 1
environment:
QT5: C:\Qt\5.10.1\msvc2017_64
configuration: Release
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_ENABLE_COTIRE=on "-DCMAKE_PREFIX_PATH=%QT5%" ..
cmake --build . --target ResInsight_unity --config Release