-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
45 lines (37 loc) · 1.24 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
version: 0.4_build{build}
os: Visual Studio 2013
platform:
- x86
- x64
configuration:
- Debug
- Release
clone_folder: c:\projects\gmio.git
environment:
matrix:
- APPVEYOR_CMAKE_GENERATOR: "Visual Studio 12 2013"
APPVEYOR_FLOAT2STR_LIB: std
- APPVEYOR_CMAKE_GENERATOR: "Visual Studio 12 2013"
APPVEYOR_FLOAT2STR_LIB: google_doubleconversion
build:
build_script:
- cmake --version
- cd %APPVEYOR_BUILD_FOLDER%
- mkdir build && cd build
- cmake .. ^
-G "%APPVEYOR_CMAKE_GENERATOR%" ^
-DCMAKE_BUILD_TYPE=%CONFIGURATION% ^
-DCMAKE_DEBUG_POSTFIX=_d ^
-DGMIO_FLOAT2STR_LIB=%APPVEYOR_FLOAT2STR_LIB% ^
-DGMIO_BUILD_EXAMPLES=ON ^
-DGMIO_BUILD_BENCHMARKS=ON ^
-DGMIO_BUILD_BENCHMARK_ASSIMP=OFF ^
-DGMIO_BUILD_BENCHMARK_LIB3MF=OFF ^
-DGMIO_BUILD_BENCHMARK_OPENCASCADE=OFF ^
-DGMIO_BUILD_TESTS_FAKE_SUPPORT=ON
- cmake --build . --config %CONFIGURATION%
- cmake --build . --target test_core --config %CONFIGURATION%
- cmake --build . --target test_stl --config %CONFIGURATION%
- cmake --build . --target test_amf --config %CONFIGURATION%
- set PATH=%APPVEYOR_BUILD_FOLDER%\build\src\%CONFIGURATION%;%PATH%
- cd tests && ctest . -V -C %CONFIGURATION%