-
Notifications
You must be signed in to change notification settings - Fork 16
/
build-default.bat
114 lines (101 loc) · 3.88 KB
/
build-default.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
114
@ECHO OFF
chcp 65001
cls
@SETLOCAL
mkdir win-BIN-CPU-x64
pushd win-BIN-CPU-x64
cmake -T "v142,host=x64" -A "x64" ^
-DCMAKE_INSTALL_PREFIX=install ^
-DCMAKE_BUILD_TYPE=Release -DOCR_OUTPUT="BIN" -DOCR_VULKAN="CPU" -DOCR_BUILD_CRT="True" ..
cmake --build . --config Release -j %NUMBER_OF_PROCESSORS%
cmake --build . --config Release --target install
popd
mkdir win-BIN-CPU-Win32
pushd win-BIN-CPU-Win32
cmake -T "v142,host=x64" -A "Win32" ^
-DCMAKE_INSTALL_PREFIX=install ^
-DCMAKE_BUILD_TYPE=Release -DOCR_OUTPUT="BIN" -DOCR_VULKAN="CPU" -DOCR_BUILD_CRT="True" ..
cmake --build . --config Release -j %NUMBER_OF_PROCESSORS%
cmake --build . --config Release --target install
popd
mkdir win-JNI-CPU-x64
pushd win-JNI-CPU-x64
cmake -T "v142,host=x64" -A "x64" ^
-DCMAKE_INSTALL_PREFIX=install ^
-DCMAKE_BUILD_TYPE=Release -DOCR_OUTPUT="JNI" -DOCR_VULKAN="CPU" -DOCR_BUILD_CRT="True" ..
cmake --build . --config Release -j %NUMBER_OF_PROCESSORS%
cmake --build . --config Release --target install
popd
mkdir win-JNI-CPU-Win32
pushd win-JNI-CPU-Win32
cmake -T "v142,host=x64" -A "Win32" ^
-DCMAKE_INSTALL_PREFIX=install ^
-DCMAKE_BUILD_TYPE=Release -DOCR_OUTPUT="JNI" -DOCR_VULKAN="CPU" -DOCR_BUILD_CRT="True" ..
cmake --build . --config Release -j %NUMBER_OF_PROCESSORS%
cmake --build . --config Release --target install
popd
mkdir win-CLIB-CPU-x64
pushd win-CLIB-CPU-x64
cmake -T "v142,host=x64" -A "x64" ^
-DCMAKE_INSTALL_PREFIX=install ^
-DCMAKE_BUILD_TYPE=Release -DOCR_OUTPUT="CLIB" -DOCR_VULKAN="CPU" -DOCR_BUILD_CRT="True" ..
cmake --build . --config Release -j %NUMBER_OF_PROCESSORS%
cmake --build . --config Release --target install
popd
mkdir win-CLIB-CPU-Win32
pushd win-CLIB-CPU-Win32
cmake -T "v142,host=x64" -A "Win32" ^
-DCMAKE_INSTALL_PREFIX=install ^
-DCMAKE_BUILD_TYPE=Release -DOCR_OUTPUT="CLIB" -DOCR_VULKAN="CPU" -DOCR_BUILD_CRT="True" ..
cmake --build . --config Release -j %NUMBER_OF_PROCESSORS%
cmake --build . --config Release --target install
popd
mkdir win-BIN-GPU-x64
pushd win-BIN-GPU-x64
cmake -T "v142,host=x64" -A "x64" ^
-DCMAKE_INSTALL_PREFIX=install ^
-DCMAKE_BUILD_TYPE=Release -DOCR_OUTPUT="BIN" -DOCR_VULKAN="GPU" -DOCR_BUILD_CRT="True" ..
cmake --build . --config Release -j %NUMBER_OF_PROCESSORS%
cmake --build . --config Release --target install
popd
mkdir win-BIN-GPU-Win32
pushd win-BIN-GPU-Win32
cmake -T "v142,host=x64" -A "Win32" ^
-DCMAKE_INSTALL_PREFIX=install ^
-DCMAKE_BUILD_TYPE=Release -DOCR_OUTPUT="BIN" -DOCR_VULKAN="GPU" -DOCR_BUILD_CRT="True" ..
cmake --build . --config Release -j %NUMBER_OF_PROCESSORS%
cmake --build . --config Release --target install
popd
mkdir win-JNI-GPU-x64
pushd win-JNI-GPU-x64
cmake -T "v142,host=x64" -A "x64" ^
-DCMAKE_INSTALL_PREFIX=install ^
-DCMAKE_BUILD_TYPE=Release -DOCR_OUTPUT="JNI" -DOCR_VULKAN="GPU" -DOCR_BUILD_CRT="True" ..
cmake --build . --config Release -j %NUMBER_OF_PROCESSORS%
cmake --build . --config Release --target install
popd
mkdir win-JNI-GPU-Win32
pushd win-JNI-GPU-Win32
cmake -T "v142,host=x64" -A "Win32" ^
-DCMAKE_INSTALL_PREFIX=install ^
-DCMAKE_BUILD_TYPE=Release -DOCR_OUTPUT="JNI" -DOCR_VULKAN="GPU" -DOCR_BUILD_CRT="True" ..
cmake --build . --config Release -j %NUMBER_OF_PROCESSORS%
cmake --build . --config Release --target install
popd
mkdir win-CLIB-GPU-x64
pushd win-CLIB-GPU-x64
cmake -T "v142,host=x64" -A "x64" ^
-DCMAKE_INSTALL_PREFIX=install ^
-DCMAKE_BUILD_TYPE=Release -DOCR_OUTPUT="CLIB" -DOCR_VULKAN="GPU" -DOCR_BUILD_CRT="True" ..
cmake --build . --config Release -j %NUMBER_OF_PROCESSORS%
cmake --build . --config Release --target install
popd
mkdir win-CLIB-GPU-Win32
pushd win-CLIB-GPU-Win32
cmake -T "v142,host=x64" -A "Win32" ^
-DCMAKE_INSTALL_PREFIX=install ^
-DCMAKE_BUILD_TYPE=Release -DOCR_OUTPUT="CLIB" -DOCR_VULKAN="GPU" -DOCR_BUILD_CRT="True" ..
cmake --build . --config Release -j %NUMBER_OF_PROCESSORS%
cmake --build . --config Release --target install
popd
@ENDLOCAL