-
Notifications
You must be signed in to change notification settings - Fork 35
/
appveyor.yml
26 lines (19 loc) · 894 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
version: '{build}'
environment:
matrix:
- GENERATOR: "Visual Studio 14 2015 Win64"
ARCH: 64
PlatformToolset: v140
Platform: x64
- GENERATOR: "Visual Studio 12 2013 Win64"
ARCH: 64
PlatformToolset: v120
Platform: x64
build_script:
- ps: |
nuget install zlib.$env:PlatformToolset.windesktop.msvcstl.dyn.rt-dyn
cmake --version
mkdir build
cd build
cmake -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Release -G"$env:GENERATOR" -DZLIB_INCLUDE_DIR:PATH=C:\projects\libautoupdate\zlib.$env:PlatformToolset.windesktop.msvcstl.dyn.rt-dyn.1.2.8.8\build\native\include -DZLIB_LIBRARY_RELEASE:FILEPATH=C:\projects\libautoupdate\zlib.$env:PlatformToolset.windesktop.msvcstl.dyn.rt-dyn.1.2.8.8\lib\native\$env:PlatformToolset\windesktop\msvcstl\dyn\rt-dyn\$env:Platform\RelWithDebInfo\zlib.lib ..
cmake --build . --config Release