-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathbuild-common-archs.bat
113 lines (100 loc) · 2.63 KB
/
build-common-archs.bat
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
echo off
rmdir /s /q build\common_archs
mkdir build\common_archs
:LOOP
IF "%~1"=="D3D11" GOTO D3D11
IF "%~1"=="D3D12" GOTO D3D12
IF "%~1"=="OPENGL" GOTO OPENGL
IF "%~1"=="OPENGL_ES" GOTO OPENGL_ES
IF "%~1"=="VULKAN" GOTO VULKAN
IF "%~1"=="" GOTO END
rem D3D11
:D3D11
tar -a -cf build\common_archs\Common_D3D11.zip ^
Common/GraphicsAPI.cpp ^
Common/GraphicsAPI_D3D11.cpp ^
Common/OpenXRDebugUtils.cpp ^
Common/DebugOutput.h ^
Common/GraphicsAPI.h ^
Common/GraphicsAPI_D3D11.h ^
Common/HelperFunctions.h ^
Common/OpenXRDebugUtils.h ^
Common/OpenXRHelper.h
SHIFT
GOTO LOOP
rem D3D12
:D3D12
tar -a -cf build\common_archs\Common_D3D12.zip ^
Common/GraphicsAPI.cpp ^
Common/GraphicsAPI_D3D12.cpp ^
Common/OpenXRDebugUtils.cpp ^
Common/DebugOutput.h ^
Common/GraphicsAPI.h ^
Common/GraphicsAPI_D3D12.h ^
Common/HelperFunctions.h ^
Common/OpenXRDebugUtils.h ^
Common/OpenXRHelper.h
SHIFT
GOTO LOOP
rem OPENGL
:OPENGL
tar -a -cf build\common_archs\Common_OpenGL.zip ^
Common/GraphicsAPI.cpp ^
Common/GraphicsAPI_OpenGL.cpp ^
Common/OpenXRDebugUtils.cpp ^
Common/DebugOutput.h ^
Common/GraphicsAPI.h ^
Common/GraphicsAPI_OpenGL.h ^
Common/HelperFunctions.h ^
Common/OpenXRDebugUtils.h ^
Common/OpenXRHelper.h
SHIFT
GOTO LOOP
rem OPENGL_ES
:OPENGL_ES
tar -a -cf build\common_archs\Common_OpenGL_ES.zip ^
Common/GraphicsAPI.cpp ^
Common/GraphicsAPI_OpenGL_ES.cpp ^
Common/OpenXRDebugUtils.cpp ^
Common/DebugOutput.h ^
Common/GraphicsAPI.h ^
Common/GraphicsAPI_OpenGL_ES.h ^
Common/HelperFunctions.h ^
Common/OpenXRDebugUtils.h ^
Common/OpenXRHelper.h
SHIFT
GOTO LOOP
rem VULKAN
:VULKAN
tar -a -cf build\common_archs\Common_Vulkan.zip ^
Common/GraphicsAPI.cpp ^
Common/GraphicsAPI_Vulkan.cpp ^
Common/OpenXRDebugUtils.cpp ^
Common/DebugOutput.h ^
Common/GraphicsAPI.h ^
Common/GraphicsAPI_Vulkan.h ^
Common/HelperFunctions.h ^
Common/OpenXRDebugUtils.h ^
Common/OpenXRHelper.h
SHIFT
GOTO LOOP
rem Full Folder
:END
tar -a -cf build\common_archs\Common.zip ^
Common/GraphicsAPI.cpp ^
Common/GraphicsAPI_D3D11.cpp ^
Common/GraphicsAPI_D3D12.cpp ^
Common/GraphicsAPI_OpenGL.cpp ^
Common/GraphicsAPI_OpenGL_ES.cpp ^
Common/GraphicsAPI_Vulkan.cpp ^
Common/OpenXRDebugUtils.cpp ^
Common/DebugOutput.h ^
Common/GraphicsAPI.h ^
Common/GraphicsAPI_D3D11.h ^
Common/GraphicsAPI_D3D12.h ^
Common/GraphicsAPI_OpenGL.h ^
Common/GraphicsAPI_OpenGL_ES.h ^
Common/GraphicsAPI_Vulkan.h ^
Common/HelperFunctions.h ^
Common/OpenXRDebugUtils.h ^
Common/OpenXRHelper.h