39 lines
974 B
YAML
39 lines
974 B
YAML
version: '{branch}-{build}'
|
|
image: Visual Studio 2013
|
|
clone_folder: C:\source\ocio
|
|
test: auto
|
|
configuration:
|
|
- Release
|
|
platform:
|
|
- x64
|
|
|
|
environment:
|
|
matrix:
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
|
|
CMAKE_PLATFORM: "Visual Studio 12 2013 Win64"
|
|
CMAKE_PREFIX_PATH: C:/Libraries/boost
|
|
BOOST_ROOT: 'C:\Libraries\boost'
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
CMAKE_PLATFORM: "Visual Studio 14 2015 Win64"
|
|
CMAKE_PREFIX_PATH: C:/Libraries/boost_1_60_0
|
|
BOOST_ROOT: 'C:\Libraries\boost_1_60_0'
|
|
|
|
install:
|
|
- cinstall: python
|
|
|
|
build_script:
|
|
- echo Running cmake...
|
|
- mkdir _build
|
|
- cd _build
|
|
- cmake
|
|
-G "%CMAKE_PLATFORM%"
|
|
-DCMAKE_INSTALL_PREFIX=..\_install
|
|
-DOCIO_USE_BOOST_PTR=ON
|
|
-DCMAKE_BUILD_TYPE=%CONFIGURATION%
|
|
..
|
|
- cmake --build . --target install --config %CONFIGURATION%
|
|
- cmake --build . --target MainTests --config %CONFIGURATION%
|
|
|
|
matrix:
|
|
fast_finish: true
|