-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
38 lines (29 loc) · 862 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
37
38
# https://ci.appveyor.com/tools/validate-yaml
version: 0.1.{build}-{branch}
os:
- Visual Studio 2015
branches:
only:
- develop
configuration:
- Release
environment:
BOOST_ROOT: C:\Libraries\boost_1_63_0
BOOST_LIBRARYDIR: C:\Libraries\boost_1_63_0\lib64-msvc-14.0
matrix:
- MY_PLATFORM: x64
MY_CMAKE_GENERATOR: Visual Studio 14 2015 Win64
MY_VCVARSALL: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
# - MY_PLATFORM: x64
# MY_CMAKE_GENERATOR: Visual Studio 12 2013 Win64
# MY_VCVARSALL: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat
install:
- cmake --version
before_build:
- mkdir build
- cd build
- call "%MY_VCVARSALL%" %MY_PLATFORM%
- cmake -G "%MY_CMAKE_GENERATOR%"
-DBOOST_ROOT="%BOOST_ROOT%"
-DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%"
..