---

version: 0.3.0-{build}

configuration: Release
image: Visual Studio 2017
platform: x64

cache: 
    - c:\hunter\ -> appveyor.yml

build:
    verbosity: minimal


install:
    - set PATH=%PATH%;C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin
    - mingw32-make.exe --version
    - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"

build_script:
    - cmake --version

    - cmake -G "Visual Studio 15 2017 Win64" -H. -Bbuild -DHUNTER_ENABLED=ON -DHUNTER_ROOT="C:\hunter"
      -DCMAKE_BUILD_TYPE=Release
    - cmake --build build --config Release
