|
| 1 | +@set VCPKG_BINARY_SOURCES=clear |
| 2 | +@set VCPKG_ROOT=%cd% |
| 3 | +@if %1.==xbox. goto xbox |
| 4 | +@if %1.==clang. goto clang |
| 5 | +.\vcpkg install directxmath:x86-windows |
| 6 | +@if errorlevel 1 goto error |
| 7 | +.\vcpkg install directxmath[xdsp]:x86-windows --recurse |
| 8 | +@if errorlevel 1 goto error |
| 9 | +.\vcpkg install directxmath[dx11]:x86-windows --recurse |
| 10 | +@if errorlevel 1 goto error |
| 11 | +.\vcpkg install directxmath[dx12]:x86-windows --recurse |
| 12 | +@if errorlevel 1 goto error |
| 13 | +.\vcpkg install directxmath:x86-windows-static |
| 14 | +@if errorlevel 1 goto error |
| 15 | +.\vcpkg install directxmath[dx11,dx12]:x86-windows-static --recurse |
| 16 | +@if errorlevel 1 goto error |
| 17 | +.\vcpkg install directxmath:x86-windows-static-md |
| 18 | +@if errorlevel 1 goto error |
| 19 | +.\vcpkg install directxmath[dx11,dx12]:x86-windows-static-md --recurse |
| 20 | +@if errorlevel 1 goto error |
| 21 | +.\vcpkg install directxmath:x64-windows |
| 22 | +@if errorlevel 1 goto error |
| 23 | +.\vcpkg install directxmath[xdsp]:x64-windows --recurse |
| 24 | +@if errorlevel 1 goto error |
| 25 | +.\vcpkg install directxmath[dx11]:x64-windows --recurse |
| 26 | +@if errorlevel 1 goto error |
| 27 | +.\vcpkg install directxmath[dx12]:x64-windows --recurse |
| 28 | +@if errorlevel 1 goto error |
| 29 | +.\vcpkg install directxmath:x64-windows-static |
| 30 | +@if errorlevel 1 goto error |
| 31 | +.\vcpkg install directxmath[dx11,dx12]:x64-windows-static --recurse |
| 32 | +@if errorlevel 1 goto error |
| 33 | +.\vcpkg install directxmath:x64-windows-static-md |
| 34 | +@if errorlevel 1 goto error |
| 35 | +.\vcpkg install directxmath[dx11,dx12]:x64-windows-static-md --recurse |
| 36 | +@if errorlevel 1 goto error |
| 37 | +.\vcpkg install directxmath:arm64-windows |
| 38 | +@if errorlevel 1 goto error |
| 39 | +.\vcpkg install directxmath[xdsp]:arm64-windows --recurse |
| 40 | +@if errorlevel 1 goto error |
| 41 | +.\vcpkg install directxmath[dx11]:arm64-windows --recurse |
| 42 | +@if errorlevel 1 goto error |
| 43 | +.\vcpkg install directxmath[dx12]:arm64-windows --recurse |
| 44 | +@if errorlevel 1 goto error |
| 45 | +.\vcpkg install directxmath:arm64-windows-static |
| 46 | +@if errorlevel 1 goto error |
| 47 | +.\vcpkg install directxmath[dx11,dx12]:arm64-windows-static --recurse |
| 48 | +@if errorlevel 1 goto error |
| 49 | +.\vcpkg install directxmath:arm64-windows-static-md |
| 50 | +@if errorlevel 1 goto error |
| 51 | +.\vcpkg install directxmath[dx11,dx12]:arm64-windows-static-md --recurse |
| 52 | +@if errorlevel 1 goto error |
| 53 | +.\vcpkg install directxmath:x86-uwp |
| 54 | +@if errorlevel 1 goto error |
| 55 | +.\vcpkg install directxmath[xdsp]:x86-uwp --recurse |
| 56 | +@if errorlevel 1 goto error |
| 57 | +.\vcpkg install directxmath[dx11]:x86-uwp --recurse |
| 58 | +@if errorlevel 1 goto error |
| 59 | +.\vcpkg install directxmath[dx12]:x86-uwp --recurse |
| 60 | +@if errorlevel 1 goto error |
| 61 | +.\vcpkg install directxmath:x64-uwp |
| 62 | +@if errorlevel 1 goto error |
| 63 | +.\vcpkg install directxmath[xdsp]:x64-uwp --recurse |
| 64 | +@if errorlevel 1 goto error |
| 65 | +.\vcpkg install directxmath[dx11]:x64-uwp --recurse |
| 66 | +@if errorlevel 1 goto error |
| 67 | +.\vcpkg install directxmath[dx12]:x64-uwp --recurse |
| 68 | +@if errorlevel 1 goto error |
| 69 | +.\vcpkg install directxmath:arm64-uwp |
| 70 | +@if errorlevel 1 goto error |
| 71 | +.\vcpkg install directxmath[xdsp]:arm64-uwp --recurse |
| 72 | +@if errorlevel 1 goto error |
| 73 | +.\vcpkg install directxmath[dx11]:arm64-uwp --recurse |
| 74 | +@if errorlevel 1 goto error |
| 75 | +.\vcpkg install directxmath[dx12]:arm64-uwp --recurse |
| 76 | +@if errorlevel 1 goto error |
| 77 | +@where /Q x86_64-w64-mingw32-g++.exe |
| 78 | +@if errorlevel 1 goto skipgcc64 |
| 79 | +.\vcpkg install directxmath:x64-mingw-static |
| 80 | +@if errorlevel 1 goto error |
| 81 | +.\vcpkg install directxmath[xdsp]:x64-mingw-static --recurse |
| 82 | +@if errorlevel 1 goto error |
| 83 | +.\vcpkg install directxmath[dx11]:x64-mingw-static --recurse |
| 84 | +@if errorlevel 1 goto error |
| 85 | +.\vcpkg install directxmath[dx12]:x64-mingw-static --recurse |
| 86 | +@if errorlevel 1 goto error |
| 87 | +:skipgcc64 |
| 88 | +@where /Q i686-w64-mingw32-g++.exe |
| 89 | +@if errorlevel 1 goto skipgcc32 |
| 90 | +.\vcpkg install directxmath:x86-mingw-static |
| 91 | +@if errorlevel 1 goto error |
| 92 | +.\vcpkg install directxmath[xdsp]:x86-mingw-static --recurse |
| 93 | +@if errorlevel 1 goto error |
| 94 | +.\vcpkg install directxmath[dx11]:x86-mingw-static --recurse |
| 95 | +@if errorlevel 1 goto error |
| 96 | +.\vcpkg install directxmath[dx12]:x86-mingw-static --recurse |
| 97 | +@if errorlevel 1 goto error |
| 98 | +:skipgcc32 |
| 99 | +@if "%GXDKLatest%."=="." goto finish |
| 100 | +:xbox |
| 101 | +.\vcpkg install directxmath:x64-xbox-scarlett |
| 102 | +@if errorlevel 1 goto error |
| 103 | +.\vcpkg install directxmath[xdsp]:x64-xbox-scarlett --recurse |
| 104 | +@if errorlevel 1 goto error |
| 105 | +.\vcpkg install directxmath[dx12]:x64-xbox-scarlett --recurse |
| 106 | +@if errorlevel 1 goto error |
| 107 | +.\vcpkg install directxmath:x64-xbox-scarlett-static |
| 108 | +@if errorlevel 1 goto error |
| 109 | +.\vcpkg install directxmath[dx12]:x64-xbox-scarlett-static --recurse |
| 110 | +@if errorlevel 1 goto error |
| 111 | +.\vcpkg install directxmath:x64-xbox-xboxone |
| 112 | +@if errorlevel 1 goto error |
| 113 | +.\vcpkg install directxmath[xdsp]:x64-xbox-xboxone --recurse |
| 114 | +@if errorlevel 1 goto error |
| 115 | +.\vcpkg install directxmath[dx12]:x64-xbox-xboxone --recurse |
| 116 | +@if errorlevel 1 goto error |
| 117 | +.\vcpkg install directxmath:x64-xbox-xboxone-static |
| 118 | +@if errorlevel 1 goto error |
| 119 | +.\vcpkg install directxmath[dx12]:x64-xbox-xboxone-static --recurse |
| 120 | +@if errorlevel 1 goto error |
| 121 | +@goto finish |
| 122 | +:clang |
| 123 | +.\vcpkg install directxmath:x64-clangcl-dynamic |
| 124 | +@if errorlevel 1 goto error |
| 125 | +.\vcpkg install directxmath:x64-clangcl-static |
| 126 | +@if errorlevel 1 goto error |
| 127 | +.\vcpkg install directxmath[xdsp]:x64-clangcl-static --recurse |
| 128 | +@if errorlevel 1 goto error |
| 129 | +.\vcpkg install directxmath[dx11]:x64-clangcl-static --recurse |
| 130 | +@if errorlevel 1 goto error |
| 131 | +.\vcpkg install directxmath[dx12]:x64-clangcl-static --recurse |
| 132 | +@if errorlevel 1 goto error |
| 133 | +.\vcpkg install directxmath:x64-clangcl-uwp |
| 134 | +@if errorlevel 1 goto error |
| 135 | +.\vcpkg install directxmath[xdsp]:x64-clangcl-uwp --recurse |
| 136 | +@if errorlevel 1 goto error |
| 137 | +.\vcpkg install directxmath[dx11]:x64-clangcl-uwp --recurse |
| 138 | +@if errorlevel 1 goto error |
| 139 | +.\vcpkg install directxmath[dx12]:x64-clangcl-uwp --recurse |
| 140 | +@if errorlevel 1 goto error |
| 141 | +.\vcpkg install directxmath:arm64-clangcl-dynamic |
| 142 | +@if errorlevel 1 goto error |
| 143 | +.\vcpkg install directxmath:arm64-clangcl-static |
| 144 | +@if errorlevel 1 goto error |
| 145 | +.\vcpkg install directxmath[xdsp]:arm64-clangcl-static --recurse |
| 146 | +@if errorlevel 1 goto error |
| 147 | +.\vcpkg install directxmath[dx11]:arm64-clangcl-static --recurse |
| 148 | +@if errorlevel 1 goto error |
| 149 | +.\vcpkg install directxmath[dx12]:arm64-clangcl-static --recurse |
| 150 | +@if errorlevel 1 goto error |
| 151 | +.\vcpkg install directxmath:arm64-clangcl-uwp |
| 152 | +@if errorlevel 1 goto error |
| 153 | +.\vcpkg install directxmath[xdsp]:arm64-clangcl-uwp --recurse |
| 154 | +@if errorlevel 1 goto error |
| 155 | +.\vcpkg install directxmath[dx11]:arm64-clangcl-uwp --recurse |
| 156 | +@if errorlevel 1 goto error |
| 157 | +.\vcpkg install directxmath[dx12]:arm64-clangcl-uwp --recurse |
| 158 | +@if errorlevel 1 goto error |
| 159 | +@if "%GXDKLatest%."=="." goto finish |
| 160 | +.\vcpkg install directxmath:x64-clangcl-scarlett |
| 161 | +@if errorlevel 1 goto error |
| 162 | +.\vcpkg install directxmath[xdsp]:x64-clangcl-scarlett --recurse |
| 163 | +@if errorlevel 1 goto error |
| 164 | +.\vcpkg install directxmath[dx12]:x64-clangcl-scarlett --recurse |
| 165 | +@if errorlevel 1 goto error |
| 166 | +.\vcpkg install directxmath:x64-clangcl-scarlett-static |
| 167 | +@if errorlevel 1 goto error |
| 168 | +.\vcpkg install directxmath[dx12]:x64-clangcl-scarlett-static --recurse |
| 169 | +@if errorlevel 1 goto error |
| 170 | +.\vcpkg install directxmath:x64-clangcl-xboxone |
| 171 | +@if errorlevel 1 goto error |
| 172 | +.\vcpkg install directxmath[xdsp]:x64-clangcl-xboxone --recurse |
| 173 | +@if errorlevel 1 goto error |
| 174 | +.\vcpkg install directxmath[dx12]:x64-clangcl-xboxone --recurse |
| 175 | +@if errorlevel 1 goto error |
| 176 | +.\vcpkg install directxmath:x64-clangcl-xboxone-static |
| 177 | +@if errorlevel 1 goto error |
| 178 | +.\vcpkg install directxmath[dx12]:x64-clangcl-xboxone-static --recurse |
| 179 | +@if errorlevel 1 goto error |
| 180 | +:finish |
| 181 | +@echo SUCCEEDED |
| 182 | +@if %1.==xbox. goto eof |
| 183 | +@if %1.==clang. goto eof |
| 184 | +@echo . |
| 185 | +@echo . Run on x64-linux and arm64-linux |
| 186 | +@echo . ./vcpkg install directxmath |
| 187 | +@echo . ./vcpkg install directxmath[xdsp] --recurse |
| 188 | +@echo . ./vcpkg install directxmath[dx12] --recurse |
| 189 | +@where /Q x86_64-w64-mingw32-g++.exe |
| 190 | +@if NOT errorlevel 1 goto gcc64 |
| 191 | +@echo . |
| 192 | +@echo . Run for MinGW64 |
| 193 | +@echo . .\vcpkg install directxmath:x64-mingw-static |
| 194 | +@echo . .\vcpkg install directxmath[xdsp]:x64-mingw-static --recurse |
| 195 | +@echo . .\vcpkg install directxmath[dx11]:x64-mingw-static --recurse |
| 196 | +@echo . .\vcpkg install directxmath[dx12]:x64-mingw-static --recurse |
| 197 | + :gcc64 |
| 198 | +@where /Q i686-w64-mingw32-g++.exe |
| 199 | +@if NOT errorlevel 1 goto gcc32 |
| 200 | +@echo . |
| 201 | +@echo . Run for MinGW32 |
| 202 | +@echo . .\vcpkg install directxmath:x86-mingw-static |
| 203 | +@echo . .\vcpkg install directxmath[xdsp]:x86-mingw-static --recurse |
| 204 | +@echo . .\vcpkg install directxmath[dx11]:x86-mingw-static --recurse |
| 205 | +@echo . .\vcpkg install directxmath[dx12]:x86-mingw-static --recurse |
| 206 | +:gcc32 |
| 207 | +@goto eof |
| 208 | +:error |
| 209 | +@echo FAILED |
| 210 | +:eof |
0 commit comments