-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
47 lines (41 loc) · 1.3 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
version: '{build}'
branches:
only:
- master
image:
- Visual Studio 2017
configuration:
- Debug
- Release
environment:
TOOLSET: v141
ToolsVersion: 15.0
VCVARSALL: '%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat'
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
PLATFORM: x86
ARCHITECTURE: x86
GENERATOR: Visual Studio 15 2017
CMAKE_DEPENDENCIES_DIR: Depends_WIN32
CMAKE_SOLUTION_DIR: Win32
- APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
PLATFORM: x64
ARCHITECTURE: x86_amd64
GENERATOR: Visual Studio 15 2017 Win64
CMAKE_DEPENDENCIES_DIR: Depends_WIN64
CMAKE_SOLUTION_DIR: Win64
build_script:
- echo "Platform '%PLATFORM%'"
- echo "Generator '%GENERATOR%'"
- echo "Toolset '%TOOLSET%'"
- echo "ToolsetVersion '%ToolsVersion%'"
- echo "Configuration '%configuration%'"
- echo "Dependencies '%CMAKE_DEPENDENCIES_DIR%'"
- echo "Solution '%CMAKE_SOLUTION_DIR%'"
- call "%VCVARSALL%" %ARCHITECTURE%
- cmake --version
- mkdir build_cmake
- cd build_cmake
- cmake .. -G "%GENERATOR%" -T %TOOLSET% -DCMAKE_CONFIGURATION_TYPES:STRING="%configuration%" -DCMAKE_BUILD_TYPE=%configuration% -DLIBMOVIE_EXAMPLES_BUILD:BOOL=FALSE
- cmake --build . --config %configuration%
- echo "Complete!"