2018-01-30 05:36:30 +08:00
|
|
|
version: '{build}'
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
clone_depth: 5
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
install:
|
2018-02-24 08:05:51 +08:00
|
|
|
- appveyor DownloadFile http://www.winpcap.org/install/bin/WpdPack_4_1_2.zip
|
|
|
|
- 7z x .\WpdPack_4_1_2.zip -oc:\projects\libpcap\Win32
|
2018-01-30 05:36:30 +08:00
|
|
|
|
2018-09-14 07:09:51 +08:00
|
|
|
environment:
|
|
|
|
matrix:
|
2018-09-14 10:19:38 +08:00
|
|
|
- GENERATOR: "Visual Studio 14 2015"
|
2018-09-14 07:09:51 +08:00
|
|
|
SDK: WpdPack
|
2018-09-14 10:19:38 +08:00
|
|
|
- GENERATOR: "Visual Studio 14 2015 Win64"
|
2018-09-14 07:09:51 +08:00
|
|
|
SDK: WpdPack
|
|
|
|
|
2018-01-30 05:36:30 +08:00
|
|
|
build_script:
|
2018-09-14 08:14:23 +08:00
|
|
|
#
|
|
|
|
# Appveyor defaults to cmd.exe, so use cmd.exe syntax.
|
|
|
|
#
|
|
|
|
- type NUL >.devel
|
2018-01-30 05:36:30 +08:00
|
|
|
- md build
|
|
|
|
- cd build
|
2018-09-14 07:09:51 +08:00
|
|
|
- cmake -DCMAKE_PREFIX_PATH=c:\projects\libpcap\Win32\%SDK% -G"%GENERATOR%" ..
|
2018-09-14 08:14:23 +08:00
|
|
|
- msbuild /m /nologo /p:Configuration=Release tcpdump.sln
|