2019-02-01 03:34:03 -06:00
|
|
|
version: 1.0.{build}
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- dev
|
|
|
|
image: Visual Studio 2017
|
|
|
|
clone_depth: 1
|
|
|
|
environment:
|
2020-01-23 06:41:56 -06:00
|
|
|
QT5: C:\Qt\5.13.2\msvc2017_64
|
2019-02-01 03:34:03 -06:00
|
|
|
build_script:
|
|
|
|
- cmd: >-
|
|
|
|
mkdir cmakebuild
|
2020-01-23 06:41:56 -06:00
|
|
|
|
2019-02-01 03:34:03 -06:00
|
|
|
cd cmakebuild
|
|
|
|
|
|
|
|
if exist "%QT5%" set Path=%QT5%\bin;%Path%
|
|
|
|
|
2020-02-03 15:26:10 -06:00
|
|
|
cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Release -DRESINSIGHT_ENABLE_UNITY_BUILD=on -DRESINSIGHT_ENABLE_PRECOMPILED_HEADERS=on "-DCMAKE_PREFIX_PATH=%QT5%" ..
|
2019-02-01 03:34:03 -06:00
|
|
|
|
2020-01-23 06:41:56 -06:00
|
|
|
cmake --build . --target ResInsight --config Release
|