2018-05-18 20:57:03 +02:00
|
|
|
version: '{build}'
|
2018-09-26 11:10:17 +02:00
|
|
|
image: Visual Studio 2015
|
2018-05-18 20:56:23 +02:00
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
2018-09-26 11:10:17 +02:00
|
|
|
- COMPILER: MSVC
|
2018-09-28 17:23:45 +02:00
|
|
|
- COMPILER: MSVC64
|
2018-09-25 17:02:55 +02:00
|
|
|
- COMPILER: MinGW-w64
|
2018-05-18 20:56:23 +02:00
|
|
|
|
2018-09-26 09:15:32 +02:00
|
|
|
install:
|
|
|
|
- git submodule update --init --recursive
|
2018-09-26 11:10:17 +02:00
|
|
|
- if [%COMPILER%]==[MinGW-w64] set PATH=C:\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin;%PATH%
|
2018-05-18 21:04:39 +02:00
|
|
|
|
2018-09-25 17:02:55 +02:00
|
|
|
build_script:
|
2018-09-26 09:00:41 +02:00
|
|
|
- if [%COMPILER%]==[MinGW-w64] cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_SH=CMAKE_SH-NOTFOUND .
|
2018-09-28 17:23:45 +02:00
|
|
|
- if [%COMPILER%]==[MSVC] cmake -G "Visual Studio 14 2015" -DCMAKE_BUILD_TYPE=MinSizeRel .
|
|
|
|
- if [%COMPILER%]==[MSVC64] cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=MinSizeRel .
|
2018-09-25 17:02:55 +02:00
|
|
|
- cmake --build .
|