summaryrefslogtreecommitdiff
path: root/.appveyor.yml
blob: d8becc2cc6599d460050275e8c463f33202708aa (plain)
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
37
38
39
40
41
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
    - GENERATOR: "Visual Studio 15 2017"
      SDK: WpdPack
    - GENERATOR: "Visual Studio 15 2017 Win64"
      SDK: WpdPack
    - GENERATOR: "Visual Studio 15 2017"
      SDK: npcap-sdk-0.1
    - GENERATOR: "Visual Studio 15 2017 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