-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathappveyor.yml
241 lines (228 loc) · 17 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
#---------------------------------#
# general configuration #
#---------------------------------#
#
#---------------------------------#
# environment configuration #
#---------------------------------#
# Operating system (build VM template)
image:
#- Visual Studio 2015
- Visual Studio 2017
#- Visual Studio 2019
# environment variables
environment:
#
KIT_ROOT: C:\local_vs2015_64
#
matrix:
# new matrix
#
# all (qt4 and qt5)
- B_USE_CGAL: ON
B_USE_OM: ON
B_USE_AIF: ON
B_USE_QT5: OFF # so we use Qt4 here for UI
- B_USE_CGAL: ON
B_USE_OM: ON
B_USE_AIF: ON
B_USE_QT5: ON # so we use Qt5 here for UI
# only cgal (qt4 only)
- B_USE_CGAL: ON
B_USE_OM: OFF
B_USE_AIF: OFF
B_USE_QT5: OFF # so we use Qt4 here for UI
# only openmesh (qt4 only)
- B_USE_CGAL: OFF
B_USE_OM: ON
B_USE_AIF: OFF
B_USE_QT5: OFF # so we use Qt4 here for UI
# only aif (qt4 only)
- B_USE_CGAL: OFF
B_USE_OM: OFF
B_USE_AIF: ON
B_USE_QT5: OFF # so we use Qt4 here for UI
# this is how to allow failing jobs in the matrix
matrix:
fast_finish: true # set this flag to immediately finish build once one of the jobs fails
# allow_failures:
# build cache to preserve files/folders between builds
#cache:
# - %KIT_ROOT% # don't work !?
# - C:\local_vs2015_64 # cached folder size cannot exceed 500 MB, so OFF for the moment...
# scripts that are called at very beginning, before repo cloning
init:
# - set
# - msbuild /version
#
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" set CMAKE_GENERATOR="Visual Studio 14 2015 Win64" # vs_2015
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" set CMAKE_GENERATOR="Visual Studio 15 2017 Win64" # vs_2017
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2019" set CMAKE_GENERATOR="Visual Studio 16 2019" # vs_2019
# - echo %CMAKE_GENERATOR%
- cmake --version
#
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" set BOOST_ROOT=C:\Libraries\boost_1_67_0 # vs_2015
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" set BOOST_ROOT=C:\Libraries\boost_1_67_0 # vs_2017
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2019" set BOOST_ROOT=C:\Libraries\boost_1_73_0 # vs_2019
# - echo %BOOST_ROOT%
- dir C:\Libraries
- dir C:\Libraries\boost_1_67_0
# - dir C:\Libraries\boost_1_73_0
#
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" set QT5_DIR=C:\Qt\5.9\msvc2015_64 # vs_2015
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" set QT5_DIR=C:\Qt\5.12\msvc2017_64 # vs_2017
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2019" set QT5_DIR=C:\Qt\5.15\msvc2019_64 # vs_2019
# - echo %QT5_DIR%
- dir C:\Qt
- dir C:\Qt\5.12
# - dir C:\Qt\5.15
#
- set PATH=%KIT_ROOT%\wget;%BOOST_ROOT%\lib;%KIT_ROOT%\CGAL-4.11-bug-patched\build\bin;%KIT_ROOT%\CGAL-4.11-bug-patched\auxiliary\gmp\lib;%KIT_ROOT%\gmp\lib;%KIT_ROOT%\Qt\qt-4.8.7-x64-msvc2015\bin;%QT5_DIR%\bin;%KIT_ROOT%\osg\OpenSceneGraph-3.6.4\bin;%KIT_ROOT%\osg\OpenSceneGraph-3.6.4\bin\osgPlugins-3.6.4;%KIT_ROOT%\PCL\pcl-1.9.1\bin;%KIT_ROOT%\PCL\flann-1.9.1\bin;%KIT_ROOT%\osg-3rdparty-runtime;%KIT_ROOT%\kitware\VTK-7.0.0\build\bin\Release;%KIT_ROOT%\FBX_SDK\2019.0\lib\release;%PATH%
# - set PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin # for vs_2015 dumpbin (todo: check path for vs_2017 dumpbin)
- set APPVEYOR=TRUE
- set CACHE=FALSE
- set APPVEYOR_BUILD_WORKER_CLOUD=pro-lw # switch to "LiquidWeb Central US" (Michigan) instead of "Rackspace San Antonio" (Texas) AppVeyor datacenter/servers -> solution for curl errors 28 and 56
#---------------------------------#
# build configuration #
#---------------------------------#
# build Configuration, i.e. Debug, Release, etc
configuration:
- Debug
# - Release
# MSBuild verbosity level
# verbosity: quiet|minimal|normal|detailed
# scripts to run before build
before_build:
# - tracert download.gforge.liris.cnrs.fr
#
- IF %FTP_MYCORE%==TRUE echo FTP_FROM_MYCORE
- IF %FTP_MYCORE%==FALSE echo FTP_FROM_GFORGE
#
- echo %CMAKE_GENERATOR%
- echo %BOOST_ROOT%
- echo %QT5_DIR%
#
- IF EXIST %KIT_ROOT% SET CACHE=TRUE
#
- echo %CACHE%
- IF %CACHE%==FALSE echo CACHE_IS_FALSE
- IF %CACHE%==TRUE echo CACHE_IS_TRUE
#
- IF %CACHE%==FALSE mkdir %KIT_ROOT%
- IF %CACHE%==FALSE cd %KIT_ROOT%
# wget -> wget.exe from https://eternallybored.org/misc/wget/
- IF %FTP_MYCORE%==FALSE IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/bin/wget.rar
- IF %FTP_MYCORE%==TRUE IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -o wget.rar https://mycore.core-cloud.net/index.php/s/3XoDkeXScMoGFIM/download
- IF %CACHE%==FALSE 7z x wget.rar > nul
# boost
# vs_2015
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" ren C:\Libraries\boost_1_67_0\lib64-msvc-14.0 lib
# vs_2017
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" ren C:\Libraries\boost_1_67_0\lib64-msvc-14.1 lib
# vs_2019
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2019" ren C:\Libraries\boost_1_73_0\lib64-msvc-14.2 lib
## (temp)
# - IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" IF %CACHE%==FALSE cd C:\Libraries\boost_1_65_1\boost\config\compiler
# - IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" IF %CACHE%==FALSE ren visualc.hpp visualc_org.hpp
# - IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/src/boost1651/visualc.hpp # suppress warnings
# - IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" IF %CACHE%==FALSE cd %KIT_ROOT%
# old (for old versions of cgal...)
# - IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/boost_1_59_0.7z
# - IF %CACHE%==FALSE wget --no-check-certificate "https://docs.google.com/uc?export=download&id=14dGyWNFF2vRY1Gj4RsgUu8xGBtyIfHQ4" -O boost_1_59_0.7z 2> nul
# - IF %CACHE%==FALSE wget --no-check-certificate https://www.dropbox.com/s/r03k7cl62xneuv4/boost_1_59_0.7z 2> nul
# - IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/MHZfXTW4ZmrMwOb/download -O boost_1_59_0.7z 2> nul
# - IF %CACHE%==FALSE 7z x boost_1_59_0.7z > nul
# CGAL
# vs_2015
# - IF %FTP_MYCORE%==FALSE IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/CGAL-4.11-bug-patched-CV.7z
# - IF %FTP_MYCORE%==TRUE IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/QNrSsl8Vve39rOO/download -O CGAL-4.11-bug-patched-CV.7z 2> nul
# - IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" IF %CACHE%==FALSE 7z x CGAL-4.11-bug-patched-CV.7z > nul
# vs_2017
# - IF %FTP_MYCORE%==FALSE IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/CGAL-4.11-bug-patched-CV.7z
# - IF %FTP_MYCORE%==TRUE IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/QNrSsl8Vve39rOO/download -O CGAL-4.11-bug-patched-CV.7z 2> nul
# - IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" IF %CACHE%==FALSE 7z x CGAL-4.11-bug-patched-CV.7z > nul
# vs_2015 & vs_2017
- IF %FTP_MYCORE%==FALSE IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/CGAL-4.14-hdr-only.7z
- IF %FTP_MYCORE%==TRUE IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/uI6jKznZy5XbGdn/download -O CGAL-4.14-hdr-only.7z 2> nul
- IF %CACHE%==FALSE 7z x CGAL-4.14-hdr-only.7z > nul
- IF %FTP_MYCORE%==FALSE IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/CGAL-5.2.1.zip
- IF %FTP_MYCORE%==TRUE IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/9hEwCUDYAzGgz2o/download -O CGAL-5.2.1.zip 2> nul
- IF %CACHE%==FALSE 7z x CGAL-5.2.1.zip > nul
# OpenMesh
- IF %FTP_MYCORE%==FALSE IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/OpenMesh-6.2.rar
#- IF %CACHE%==FALSE wget --no-check-certificate "https://docs.google.com/uc?export=download&id=1jyy_J_O7EMXZBPmIo9oV9EftMw1_4GQx" -O OpenMesh-6.2.rar 2> nul
#- IF %CACHE%==FALSE wget --no-check-certificate https://www.dropbox.com/s/e6gelvzlcxbtq4q/OpenMesh-6.2.rar 2> nul
- IF %FTP_MYCORE%==TRUE IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/OiJFwZHvIBIRWiB/download -O OpenMesh-6.2.rar 2> nul
- IF %CACHE%==FALSE 7z x OpenMesh-6.2.rar > nul
# Qt4
- IF %FTP_MYCORE%==FALSE IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/qt-4.8.7-x64-msvc2015-moc_patched.7z
- IF %FTP_MYCORE%==TRUE IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/jNeqWUtzabmQr8w/download -O qt-4.8.7-x64-msvc2015-moc_patched.7z 2> nul
- IF %CACHE%==FALSE 7z x qt-4.8.7-x64-msvc2015-moc_patched.7z > nul
# OSG
- IF %FTP_MYCORE%==FALSE IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/osg-3.6.4.7z
- IF %FTP_MYCORE%==TRUE IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/lXhAPU0mRm5rPsK/download -O osg-3.6.4.7z 2> nul
- IF %CACHE%==FALSE 7z x osg-3.6.4.7z > nul
# osg-3rdparty-runtime (libpng - zlib)
- IF %FTP_MYCORE%==FALSE IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/osg-3rdparty-runtime.rar
#- IF %CACHE%==FALSE wget --no-check-certificate "https://docs.google.com/uc?export=download&id=1_eee96-twiZ93Rc6ZqrjLlzjaOR0f8Az" -O osg-3rdparty-runtime.rar 2> nul
#- IF %CACHE%==FALSE wget --no-check-certificate https://www.dropbox.com/s/5z3hljvu3ch68oy/osg-3rdparty-runtime.rar 2> nul
- IF %FTP_MYCORE%==TRUE IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/EcY1smUJxwzHRkF/download -O osg-3rdparty-runtime.rar 2> nul
- IF %CACHE%==FALSE 7z x osg-3rdparty-runtime.rar > nul
# eigen
- IF %FTP_MYCORE%==FALSE IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/eigen-3.2.8.rar
#- IF %CACHE%==FALSE wget --no-check-certificate "https://docs.google.com/uc?export=download&id=1QFpKt3_iGRvcEyBLQe_sDBZPQUlbv_VX" -O eigen-3.2.8.rar 2> nul
#- IF %CACHE%==FALSE wget --no-check-certificate https://www.dropbox.com/s/qz2vytifk5io9la/eigen-3.2.8.rar 2> nul
- IF %FTP_MYCORE%==TRUE IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/ibSGyso5bX2fSgf/download -O eigen-3.2.8.rar 2> nul
- IF %CACHE%==FALSE 7z x eigen-3.2.8.rar > nul
# PCL, flann, qhull
- IF %FTP_MYCORE%==FALSE IF %CONFIGURATION%==Release IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/PCL-1.9.1.7z
- IF %FTP_MYCORE%==TRUE IF %CONFIGURATION%==Release IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/CXDvf7G3MoLXpRI/download -O PCL-1.9.1.7z 2> nul
- IF %CONFIGURATION%==Release IF %CACHE%==FALSE 7z x PCL-1.9.1.7z > nul
- IF %CONFIGURATION%==Release IF %CACHE%==FALSE cd %KIT_ROOT%\PCL\pcl-1.9.1\include\pcl-1.9\pcl
- IF %CONFIGURATION%==Release IF %CACHE%==FALSE ren PCLPointCloud2.h PCLPointCloud2_org.h
- IF %FTP_MYCORE%==FALSE IF %CONFIGURATION%==Release IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/PCL_1.9.1_if_BOOST_1_73/PCLPointCloud2.rar
- IF %FTP_MYCORE%==TRUE IF %CONFIGURATION%==Release IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/pOr1kn676NBIFIh/download -O PCLPointCloud2.rar 2> nul
- IF %CONFIGURATION%==Release IF %CACHE%==FALSE 7z x PCLPointCloud2.rar > nul
- IF %CONFIGURATION%==Release IF %CACHE%==FALSE cd %KIT_ROOT%\PCL\pcl-1.9.1\include\pcl-1.9\pcl\io\ply
- IF %CONFIGURATION%==Release IF %CACHE%==FALSE ren byte_order.h byte_order_org.h
- IF %FTP_MYCORE%==FALSE IF %CONFIGURATION%==Release IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/PCL_1.9.1_if_BOOST_1_73/byte_order.rar
- IF %FTP_MYCORE%==TRUE IF %CONFIGURATION%==Release IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/Jctn8K5EScL8FtG/download -O byte_order.rar 2> nul
- IF %CONFIGURATION%==Release IF %CACHE%==FALSE 7z x byte_order.rar > nul
- IF %CONFIGURATION%==Release IF %CACHE%==FALSE cd %KIT_ROOT%
# VTK
- IF %FTP_MYCORE%==FALSE IF %CONFIGURATION%==Debug IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/kitware-VTK-7.0.0.7z
#- IF %CONFIGURATION%==Debug IF %CACHE%==FALSE wget --no-check-certificate "https://docs.google.com/uc?export=download&id=1dyNslEtQrkf2I1YwVvXDZNOezZoh7YDi" -O kitware-VTK-7.0.0.7z 2> nul
#- IF %CONFIGURATION%==Debug IF %CACHE%==FALSE wget --no-check-certificate https://www.dropbox.com/s/xeqzki5insnads1/kitware-VTK-7.0.0.7z 2> nul
- IF %FTP_MYCORE%==TRUE IF %CONFIGURATION%==Debug IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/JzJrjVGjvz7oNKX/download -O kitware-VTK-7.0.0.7z 2> nul
- IF %CONFIGURATION%==Debug IF %CACHE%==FALSE 7z x kitware-VTK-7.0.0.7z > nul
# FBX
- IF %FTP_MYCORE%==FALSE IF %CONFIGURATION%==Release IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/FBX_SDK.7z
- IF %FTP_MYCORE%==TRUE IF %CONFIGURATION%==Release IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/VRjcORdpqE5hU18/download -O FBX_SDK.7z 2> nul
- IF %CONFIGURATION%==Release IF %CACHE%==FALSE 7z x FBX_SDK.7z > nul
# Img-3rdparty: jpeg, zlib (for png), png, tiff
- IF %FTP_MYCORE%==FALSE IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/img-3rdparty.rar
- IF %FTP_MYCORE%==TRUE IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/OoWoz1cwBS8cxfa/download -O img-3rdparty.rar 2> nul
- IF %CACHE%==FALSE 7z x img-3rdparty.rar > nul
# Draco
- IF %FTP_MYCORE%==FALSE IF %CACHE%==FALSE curl -k --connect-timeout 60 --max-time 1800 -s -O https://download.gforge.liris.cnrs.fr/meppbin/windows/vs2015/MEPP/packages/clean/draco-1.3.4.rar
- IF %FTP_MYCORE%==TRUE IF %CACHE%==FALSE wget --no-check-certificate https://mycore.core-cloud.net/index.php/s/6qy0vFJWnrHlS1c/download -O draco-1.3.4.rar 2> nul
- IF %CACHE%==FALSE 7z x draco-1.3.4.rar > nul
#
- cd %APPVEYOR_BUILD_FOLDER%
# PCL and FBX set to ON in Release configuration (because of time limitations: "all plans have 60 minutes quota per build job")
- IF %CONFIGURATION%==Release cmake . -G%CMAKE_GENERATOR% -DMSVC_KIT_ROOT=%KIT_ROOT% -DCMAKE_BUILD_TYPE=Release -DBUILD_USE_CGAL=%B_USE_CGAL% -DBUILD_USE_OPENMESH=%B_USE_OM% -DBUILD_USE_AIF=%B_USE_AIF% -DBUILD_USE_GUI=ON -DBUILD_USE_QT5=%B_USE_QT5% -DBUILD_USE_PCL=ON -DBUILD_USE_VTK=OFF -DBUILD_USE_FBX=ON -DBUILD_USE_DRACO=ON -DBUILD_EXAMPLES=ON
# VTK set to ON in Debug configuration (because of time limitations: "all plans have 60 minutes quota per build job")
- IF %CONFIGURATION%==Debug cmake . -G%CMAKE_GENERATOR% -DMSVC_KIT_ROOT=%KIT_ROOT% -DCMAKE_BUILD_TYPE=Debug -DBUILD_USE_CGAL=%B_USE_CGAL% -DBUILD_USE_OPENMESH=%B_USE_OM% -DBUILD_USE_AIF=%B_USE_AIF% -DBUILD_USE_GUI=ON -DBUILD_USE_QT5=%B_USE_QT5% -DBUILD_USE_PCL=OFF -DBUILD_USE_VTK=ON -DBUILD_USE_FBX=OFF -DBUILD_USE_DRACO=ON -DBUILD_EXAMPLES=ON
# to run your custom scripts instead of automatic MSBuild
build_script:
# NUMBER_OF_PROCESSORS=2
# msbuild /m => parallel
#
- msbuild /m MEPP2.sln # parallel now OK !
# - msbuild MEPP2.sln
# - msbuild /m MEPP2.sln -target:test_boolean_operations_polyhedron
# to run your custom scripts instead of automatic tests
test_script:
# - IF %CONFIGURATION%==Debug dumpbin /dependents "C:\projects\mepp2\Testing\CGAL\Polyhedron\Debug\test_boolean_operations_polyhedron.exe"
# - IF %CONFIGURATION%==Release dumpbin /dependents "C:\projects\mepp2\Testing\CGAL\Polyhedron\Release\test_boolean_operations_polyhedron.exe"
- ctest -j 2 --output-on-failure