1version: '{branch}-{build}'
2image: Visual Studio 2013
3clone_folder: C:\source\ocio
4test: auto
5configuration:
6    - Release
7platform:
8    - x64
9
10environment:
11  matrix:
12    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
13      CMAKE_PLATFORM: "Visual Studio 12 2013 Win64"
14      CMAKE_PREFIX_PATH: C:/Libraries/boost
15      BOOST_ROOT: 'C:\Libraries\boost'
16    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
17      CMAKE_PLATFORM: "Visual Studio 14 2015 Win64"
18      CMAKE_PREFIX_PATH: C:/Libraries/boost_1_60_0
19      BOOST_ROOT: 'C:\Libraries\boost_1_60_0'
20
21install:
22  - cinstall: python
23
24build_script:
25  - echo Running cmake...
26  - mkdir _build
27  - cd _build
28  - cmake
29    -G "%CMAKE_PLATFORM%"
30    -DCMAKE_INSTALL_PREFIX=..\_install
31    -DOCIO_USE_BOOST_PTR=ON
32    -DCMAKE_BUILD_TYPE=%CONFIGURATION%
33    ..
34  - cmake --build . --target install --config %CONFIGURATION%
35  - cmake --build . --target MainTests --config %CONFIGURATION%
36
37matrix:
38    fast_finish: true
39