mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-12-13 20:04:28 +08:00
34 lines
895 B
YAML
34 lines
895 B
YAML
version: '{build}'
|
|
|
|
clone_depth: 5
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
|
|
install:
|
|
- appveyor DownloadFile http://www.winpcap.org/install/bin/WpdPack_4_1_2.zip
|
|
- 7z x .\WpdPack_4_1_2.zip -oc:\projects\libpcap\Win32
|
|
- appveyor DownloadFile https://nmap.org/npcap/dist/npcap-sdk-0.1.zip
|
|
- 7z x .\npcap-sdk-0.1.zip -oc:\projects\libpcap\Win32
|
|
|
|
environment:
|
|
matrix:
|
|
- GENERATOR: "Visual Studio 14 2015"
|
|
SDK: WpdPack
|
|
- GENERATOR: "Visual Studio 14 2015 Win64"
|
|
SDK: WpdPack
|
|
- GENERATOR: "Visual Studio 14 2015"
|
|
SDK: npcap-sdk-0.1
|
|
- GENERATOR: "Visual Studio 14 2015 Win64"
|
|
SDK: npcap-sdk-0.1
|
|
|
|
build_script:
|
|
#
|
|
# Appveyor defaults to cmd.exe, so use cmd.exe syntax.
|
|
#
|
|
- type NUL >.devel
|
|
- md build
|
|
- cd build
|
|
- cmake -DCMAKE_PREFIX_PATH=c:\projects\libpcap\Win32\%SDK% -G"%GENERATOR%" ..
|
|
- msbuild /m /nologo /p:Configuration=Release tcpdump.sln
|