forked from the-tcpdump-group/libpcap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
36 lines (31 loc) · 962 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
27
28
29
30
31
32
33
34
35
36
version: '{build}'
clone_depth: 5
matrix:
fast_finish: true
install:
- cinst winflexbison
- win_flex --version
- win_bison --version
- 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 pcap.sln