-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
49 lines (36 loc) · 1.13 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
version: 1.0.{build}
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
CMAKE_GENERATOR: Visual Studio 16 2019
CMAKE_ARCHITECTURE: Win32
install:
- git submodule update --init --recursive
before_build:
# Build dependencies
- cmd: mkdir dependency
- cmd: cd public
- cmd: cd yaml-cpp
- cmd: mkdir build
- cmd: cd build
- cmd: cmake -G "%CMAKE_GENERATOR%" -A %CMAKE_ARCHITECTURE% -DYAML_CPP_BUILD_TESTS=OFF -DYAML_BUILD_SHARED_LIBS=ON ../
- cmd: cmake --build . --config Release
- cmd: cmake --install . --prefix ../../../dependency
- cmd: cd ..
- cmd: rm -rf build
- cmd: cd ..
- cmd: cd glfw
- cmd: mkdir build
- cmd: cd build
- cmd: cmake -G "%CMAKE_GENERATOR%" -A %CMAKE_ARCHITECTURE% -DBUILD_SHARED_LIBS=ON ../
- cmd: cmake --build . --config Release
- cmd: cmake --install . --prefix ../../../dependency
- cmd: rm -rf build
- cmd: cd ../../../
- cmd: ./install_dependency.bat
- cmd: mkdir build
- cmd: cd build
- cmd: cmake -G "%CMAKE_GENERATOR%" -A %CMAKE_ARCHITECTURE% ..
- cmd: cd ..
build_script:
- cmake --build build