forked from Celtoys/Remotery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
78 lines (56 loc) · 3.73 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
image:
- Visual Studio 2015
- Visual Studio 2017
platform:
- x86
- x64
environment:
CL_OPTS_GLOBAL: -c -W4
matrix:
- CL_OPTS: "%CL_OPTS_GLOBAL% -DNDEBUG"
configuration: Release
- CL_OPTS: "%CL_OPTS_GLOBAL% -D_DEBUG"
configuration: Debug
matrix:
fast_finish: true
build_script:
# VS2010 doesn't have a 64-bit install
# --- VS2010 -----------------------------------------------------------------------------
- cmd: if "%PLATFORM%" == "x86" if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" call "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat" %PLATFORM%
- cmd: if "%PLATFORM%" == "x86" if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" cl.exe %CL_OPTS% lib\Remotery.c
# VS2010 C++ mode
- cmd: if "%PLATFORM%" == "x86" if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" cl.exe %CL_OPTS% -TP lib\Remotery.c
# VS2010 OpenGL
- cmd: if "%PLATFORM%" == "x86" if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" cl.exe %CL_OPTS% -DRMT_USE_OPENGL=1 lib\Remotery.c
# VS2010 C++ mode OpenGL
- cmd: if "%PLATFORM%" == "x86" if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" cl.exe %CL_OPTS% -TP -DRMT_USE_OPENGL=1 lib\Remotery.c
# VS2010 D3D11
- cmd: if "%PLATFORM%" == "x86" if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" cl.exe %CL_OPTS% -DRMT_USE_D3D11=1 lib\Remotery.c
# VS2010 C++ mode D3D11
- cmd: if "%PLATFORM%" == "x86" if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" cl.exe %CL_OPTS% -TP -DRMT_USE_D3D11=1 lib\Remotery.c
# --- VS2015 -----------------------------------------------------------------------------
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" call "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat" %PLATFORM%
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" cl.exe %CL_OPTS% lib\Remotery.c
# VS2015 C++ mode
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" cl.exe %CL_OPTS% -TP lib\Remotery.c
# VS2015 OpenGL
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" cl.exe %CL_OPTS% -DRMT_USE_OPENGL=1 lib\Remotery.c
# VS2015 C++ mode OpenGL
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" cl.exe %CL_OPTS% -TP -DRMT_USE_OPENGL=1 lib\Remotery.c
# VS2015 D3D11
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" cl.exe %CL_OPTS% -DRMT_USE_D3D11=1 lib\Remotery.c
# VS2015 C++ mode D3D11
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" cl.exe %CL_OPTS% -TP -DRMT_USE_D3D11=1 lib\Remotery.c
# --- VS2017 -----------------------------------------------------------------------------
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %PLATFORM%
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" cl.exe %CL_OPTS% lib\Remotery.c
# VS2017 C++ mode
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" cl.exe %CL_OPTS% -TP lib\Remotery.c
# VS2017 OpenGL
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" cl.exe %CL_OPTS% -DRMT_USE_OPENGL=1 lib\Remotery.c
# VS2017 C++ mode OpenGL
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" cl.exe %CL_OPTS% -TP -DRMT_USE_OPENGL=1 lib\Remotery.c
# VS2017 D3D11
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" cl.exe %CL_OPTS% -DRMT_USE_D3D11=1 lib\Remotery.c
# VS2017 C++ mode D3D11
- cmd: if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" cl.exe %CL_OPTS% -TP -DRMT_USE_D3D11=1 lib\Remotery.c