forked from tomdoel/ImageCapture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
61 lines (49 loc) · 1.88 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#/*============================================================================
#
# IMAGECAPTURE: A software package for capturing images from input devices and rendering to vide outputs.
#
# Copyright (c) University College London (UCL). All rights reserved.
#
# This software is distributed WITHOUT ANY WARRANTY; without even
# the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE.
#
# See LICENSE.txt in the top level directory for details.
#
#============================================================================*/
version: "{build}"
os: Visual Studio 2015
init:
- git config --global core.autocrlf input
clone_folder: c:\projects\CMakeCatchTemplate
shallow_clone: false
environment:
matrix:
- COMPILER: "Visual Studio 14 Win64"
platform:
- x64
configuration:
- Release
matrix:
fast_finish: true
before_build:
- echo --------------------------------------------------------------------------------
- echo Appveyor environment info:
- echo COMPILER = %COMPILER%, CONFIGURATION = %CONFIGURATION%
- cmake -version
- pwd
- git submodule update -q --init --recursive
- set PATH=C:\Python36-x64;%PATH%
- rem --------------------------------------------------------------------------------
build_script:
- echo --------------------------------------------------------------------------------
- echo Build CMakeCatchTemplate:
- mkdir build
- cd build
- cmake -G "%COMPILER%" -DCMAKE_PREFIX_PATH=C:\\Qt\\5.6\\msvc2015_64 -DBUILD_SUPERBUILD:BOOL=ON -DBUILD_TESTING:BOOL=ON -DBUILD_Boost:BOOL=ON -DBUILD_Python_PyBind:BOOL=ON -DBUILD_Python_Boost:BOOL=OFF -DBUILD_Eigen:BOOL=ON -DBUILD_glog:BOOL=ON -DBUILD_gflags:BOOL=ON -DBUILD_VTK:BOOL=OFF -DBUILD_PCL:BOOL=OFF -DBUILD_OpenCV:BOOL=OFF --config %CONFIGURATION% ..
- cmake --build . --config %CONFIGURATION%
test_script:
- pwd
- cd IMAGECAPTURE-build
- pwd
- ctest -C %CONFIGURATION%