diff options
Diffstat (limited to 'contrib/DirectX-Headers-1.618.2/CMakePresets.json')
| -rw-r--r-- | contrib/DirectX-Headers-1.618.2/CMakePresets.json | 224 |
1 files changed, 224 insertions, 0 deletions
diff --git a/contrib/DirectX-Headers-1.618.2/CMakePresets.json b/contrib/DirectX-Headers-1.618.2/CMakePresets.json new file mode 100644 index 0000000..e728c20 --- /dev/null +++ b/contrib/DirectX-Headers-1.618.2/CMakePresets.json | |||
| @@ -0,0 +1,224 @@ | |||
| 1 | { | ||
| 2 | "version": 2, | ||
| 3 | "configurePresets": [ | ||
| 4 | { | ||
| 5 | "name": "base", | ||
| 6 | "displayName": "Basic Config", | ||
| 7 | "description": "Basic build using Ninja generator", | ||
| 8 | "generator": "Ninja", | ||
| 9 | "hidden": true, | ||
| 10 | "binaryDir": "${sourceDir}/out/build/${presetName}", | ||
| 11 | "cacheVariables": { "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}" } | ||
| 12 | }, | ||
| 13 | |||
| 14 | { | ||
| 15 | "name": "x64", | ||
| 16 | "architecture": { | ||
| 17 | "value": "x64", | ||
| 18 | "strategy": "external" | ||
| 19 | }, | ||
| 20 | "hidden": true | ||
| 21 | }, | ||
| 22 | { | ||
| 23 | "name": "x86", | ||
| 24 | "architecture": { | ||
| 25 | "value": "x86", | ||
| 26 | "strategy": "external" | ||
| 27 | }, | ||
| 28 | "hidden": true | ||
| 29 | }, | ||
| 30 | { | ||
| 31 | "name": "ARM64", | ||
| 32 | "architecture": { | ||
| 33 | "value": "arm64", | ||
| 34 | "strategy": "external" | ||
| 35 | }, | ||
| 36 | "hidden": true | ||
| 37 | }, | ||
| 38 | { | ||
| 39 | "name": "ARM64EC", | ||
| 40 | "architecture": { | ||
| 41 | "value": "arm64ec", | ||
| 42 | "strategy": "external" | ||
| 43 | }, | ||
| 44 | "environment": { | ||
| 45 | "CFLAGS": "/arm64EC", | ||
| 46 | "CXXFLAGS": "/arm64EC" | ||
| 47 | }, | ||
| 48 | "hidden": true | ||
| 49 | }, | ||
| 50 | |||
| 51 | { | ||
| 52 | "name": "Debug", | ||
| 53 | "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" }, | ||
| 54 | "hidden": true | ||
| 55 | }, | ||
| 56 | { | ||
| 57 | "name": "Release", | ||
| 58 | "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" }, | ||
| 59 | "hidden": true | ||
| 60 | }, | ||
| 61 | |||
| 62 | { | ||
| 63 | "name": "MSVC", | ||
| 64 | "hidden": true, | ||
| 65 | "cacheVariables": { | ||
| 66 | "CMAKE_CXX_COMPILER": "cl.exe", | ||
| 67 | "CMAKE_C_COMPILER": "cl.exe" | ||
| 68 | }, | ||
| 69 | "toolset": { | ||
| 70 | "value": "host=x64", | ||
| 71 | "strategy": "external" | ||
| 72 | } | ||
| 73 | }, | ||
| 74 | { | ||
| 75 | "name": "Clang", | ||
| 76 | "hidden": true, | ||
| 77 | "cacheVariables": { | ||
| 78 | "CMAKE_CXX_COMPILER": "clang-cl.exe", | ||
| 79 | "CMAKE_C_COMPILER": "clang-cl.exe" | ||
| 80 | }, | ||
| 81 | "toolset": { | ||
| 82 | "value": "host=x64", | ||
| 83 | "strategy": "external" | ||
| 84 | } | ||
| 85 | }, | ||
| 86 | { | ||
| 87 | "name": "Clang-X86", | ||
| 88 | "environment": { | ||
| 89 | "CFLAGS": "-m32", | ||
| 90 | "CXXFLAGS": "-m32" | ||
| 91 | }, | ||
| 92 | "hidden": true | ||
| 93 | }, | ||
| 94 | { | ||
| 95 | "name": "Clang-AArch64", | ||
| 96 | "environment": { | ||
| 97 | "CFLAGS": "--target=arm64-pc-windows-msvc", | ||
| 98 | "CXXFLAGS": "--target=arm64-pc-windows-msvc" | ||
| 99 | }, | ||
| 100 | "hidden": true | ||
| 101 | }, | ||
| 102 | { | ||
| 103 | "name": "GNUC", | ||
| 104 | "hidden": true, | ||
| 105 | "cacheVariables": { | ||
| 106 | "CMAKE_CXX_COMPILER": "g++.exe", | ||
| 107 | "CMAKE_C_COMPILER": "gcc.exe", | ||
| 108 | "DXHEADERS_BUILD_TEST": false | ||
| 109 | }, | ||
| 110 | "toolset": { | ||
| 111 | "value": "host=x64", | ||
| 112 | "strategy": "external" | ||
| 113 | } | ||
| 114 | }, | ||
| 115 | { | ||
| 116 | "name": "Intel", | ||
| 117 | "hidden": true, | ||
| 118 | "cacheVariables": { | ||
| 119 | "CMAKE_CXX_COMPILER": "icl.exe", | ||
| 120 | "DXHEADERS_BUILD_GOOGLE_TEST": false, | ||
| 121 | "DXHEADERS_BUILD_TEST": false | ||
| 122 | }, | ||
| 123 | "toolset": { | ||
| 124 | "value": "host=x64", | ||
| 125 | "strategy": "external" | ||
| 126 | } | ||
| 127 | }, | ||
| 128 | { | ||
| 129 | "name": "IntelLLVM", | ||
| 130 | "hidden": true, | ||
| 131 | "cacheVariables": { | ||
| 132 | "CMAKE_CXX_COMPILER": "icx.exe", | ||
| 133 | "DXHEADERS_BUILD_GOOGLE_TEST": false | ||
| 134 | }, | ||
| 135 | "toolset": { | ||
| 136 | "value": "host=x64", | ||
| 137 | "strategy": "external" | ||
| 138 | } | ||
| 139 | }, | ||
| 140 | |||
| 141 | { | ||
| 142 | "name": "UWP", | ||
| 143 | "cacheVariables": { | ||
| 144 | "CMAKE_SYSTEM_NAME": "WindowsStore", | ||
| 145 | "CMAKE_SYSTEM_VERSION": "10.0" | ||
| 146 | }, | ||
| 147 | "hidden": true | ||
| 148 | }, | ||
| 149 | { | ||
| 150 | "name": "NoTests", | ||
| 151 | "hidden": true, | ||
| 152 | "cacheVariables": { | ||
| 153 | "DXHEADERS_BUILD_TEST": false, | ||
| 154 | "DXHEADERS_BUILD_GOOGLE_TEST": false | ||
| 155 | } | ||
| 156 | }, | ||
| 157 | |||
| 158 | { "name": "x64-Debug" , "description": "MSVC for x64 (Debug)", "inherits": [ "base", "x64", "Debug", "MSVC" ] }, | ||
| 159 | { "name": "x64-Release" , "description": "MSVC for x64 (Release)", "inherits": [ "base", "x64", "Release", "MSVC" ] }, | ||
| 160 | { "name": "x86-Debug" , "description": "MSVC for x86 (Debug)", "inherits": [ "base", "x86", "Debug", "MSVC" ] }, | ||
| 161 | { "name": "x86-Release" , "description": "MSVC for x86 (Release)", "inherits": [ "base", "x86", "Release", "MSVC" ] }, | ||
| 162 | { "name": "arm64-Debug" , "description": "MSVC for ARM64 (Debug)", "inherits": [ "base", "ARM64", "Debug", "MSVC" ] }, | ||
| 163 | { "name": "arm64-Release" , "description": "MSVC for ARM64 (Release)", "inherits": [ "base", "ARM64", "Release", "MSVC" ] }, | ||
| 164 | { "name": "arm64ec-Debug" , "description": "MSVC for ARM64EC (Debug)", "inherits": [ "base", "ARM64EC", "Debug", "MSVC" ] }, | ||
| 165 | { "name": "arm64ec-Release" , "description": "MSVC for ARM64EC (Release)", "inherits": [ "base", "ARM64EC", "Release", "MSVC" ] }, | ||
| 166 | |||
| 167 | { "name": "x64-Debug-UWP" , "description": "MSVC for x64 (Debug) for UWP", "inherits": [ "base", "x64", "Debug", "MSVC", "UWP" ] }, | ||
| 168 | { "name": "x64-Release-UWP" , "description": "MSVC for x64 (Release) for UWP", "inherits": [ "base", "x64", "Release", "MSVC", "UWP" ] }, | ||
| 169 | { "name": "x86-Debug-UWP" , "description": "MSVC for x86 (Debug) for UWP", "inherits": [ "base", "x86", "Debug", "MSVC", "UWP" ] }, | ||
| 170 | { "name": "x86-Release-UWP" , "description": "MSVC for x86 (Release) for UWP", "inherits": [ "base", "x86", "Release", "MSVC", "UWP" ] }, | ||
| 171 | { "name": "arm64-Debug-UWP" , "description": "MSVC for ARM64 (Debug) for UWP", "inherits": [ "base", "ARM64", "Debug", "MSVC", "UWP" ] }, | ||
| 172 | { "name": "arm64-Release-UWP", "description": "MSVC for ARM64 (Release) for UWP", "inherits": [ "base", "ARM64", "Release", "MSVC", "UWP" ] }, | ||
| 173 | |||
| 174 | { "name": "x64-Debug-Clang" , "description": "Clang/LLVM for x64 (Debug)", "inherits": [ "base", "x64", "Debug", "Clang" ] }, | ||
| 175 | { "name": "x64-Release-Clang" , "description": "Clang/LLVM for x64 (Release)", "inherits": [ "base", "x64", "Release", "Clang" ] }, | ||
| 176 | { "name": "x86-Debug-Clang" , "description": "Clang/LLVM for x86 (Debug)", "inherits": [ "base", "x86", "Debug", "Clang", "Clang-X86" ] }, | ||
| 177 | { "name": "x86-Release-Clang" , "description": "Clang/LLVM for x86 (Release)", "inherits": [ "base", "x86", "Release", "Clang", "Clang-X86" ] }, | ||
| 178 | { "name": "arm64-Debug-Clang" , "description": "Clang/LLVM for AArch64 (Debug)", "inherits": [ "base", "ARM64", "Debug", "Clang", "Clang-AArch64" ] }, | ||
| 179 | { "name": "arm64-Release-Clang", "description": "Clang/LLVM for AArch64 (Release)", "inherits": [ "base", "ARM64", "Release", "Clang", "Clang-AArch64" ] }, | ||
| 180 | |||
| 181 | { "name": "x64-Debug-UWP-Clang" , "description": "Clang/LLVM for x64 (Debug) for UWP", "inherits": [ "base", "x64", "Debug", "Clang", "UWP" ] }, | ||
| 182 | { "name": "x64-Release-UWP-Clang" , "description": "Clang/LLVM for x64 (Release) for UWP", "inherits": [ "base", "x64", "Release", "Clang", "UWP" ] }, | ||
| 183 | { "name": "x86-Debug-UWP-Clang" , "description": "Clang/LLVM for x86 (Debug) for UWP", "inherits": [ "base", "x86", "Debug", "Clang", "Clang-X86", "UWP" ] }, | ||
| 184 | { "name": "x86-Release-UWP-Clang" , "description": "Clang/LLVM for x86 (Release) for UWP", "inherits": [ "base", "x86", "Release", "Clang", "Clang-X86", "UWP" ] }, | ||
| 185 | { "name": "arm64-Debug-UWP-Clang" , "description": "Clang/LLVM for AArch64 (Debug) for UWP", "inherits": [ "base", "ARM64", "Debug", "Clang", "Clang-AArch64", "UWP" ] }, | ||
| 186 | { "name": "arm64-Release-UWP-Clang", "description": "Clang/LLVM for AArch64 (Release) for UWP", "inherits": [ "base", "ARM64", "Release", "Clang", "Clang-AArch64", "UWP" ] }, | ||
| 187 | |||
| 188 | { "name": "x64-Debug-ICC" , "description": "Intel Classic Compiler (Debug)", "inherits": [ "base", "x64", "Debug", "Intel" ] }, | ||
| 189 | { "name": "x64-Release-ICC" , "description": "Intel Classic Compiler (Release)", "inherits": [ "base", "x64", "Release", "Intel" ] }, | ||
| 190 | { "name": "x86-Debug-ICC" , "description": "Intel Classic Compiler (Debug)", "inherits": [ "base", "x86", "Debug", "Intel" ] }, | ||
| 191 | { "name": "x86-Release-ICC" , "description": "Intel Classic Compiler (Release)", "inherits": [ "base", "x86", "Release", "Intel" ] }, | ||
| 192 | |||
| 193 | { "name": "x64-Debug-ICX" , "description": "Intel oneAPI Compiler (Debug)", "inherits": [ "base", "x64", "Debug", "IntelLLVM" ] }, | ||
| 194 | { "name": "x64-Release-ICX" , "description": "Intel oneAPI Compiler (Release)", "inherits": [ "base", "x64", "Release", "IntelLLVM" ] }, | ||
| 195 | { "name": "x86-Debug-ICX" , "description": "Intel oneAPI Compiler (Debug)", "inherits": [ "base", "x86", "Debug", "IntelLLVM" ] }, | ||
| 196 | { "name": "x86-Release-ICX" , "description": "Intel oneAPI Compiler (Release)", "inherits": [ "base", "x86", "Release", "IntelLLVM" ] }, | ||
| 197 | |||
| 198 | { "name": "x64-Debug-MinGW" , "description": "MinG-W64 (Debug)", "inherits": [ "base", "x64", "Debug", "GNUC" ], "environment": { "PATH": "$penv{PATH};c:/mingw64/bin" } }, | ||
| 199 | { "name": "x64-Release-MinGW", "description": "MinG-W64 (Release)", "inherits": [ "base", "x64", "Release", "GNUC" ], "environment": { "PATH": "$penv{PATH};c:/mingw64/bin" } }, | ||
| 200 | { "name": "x86-Debug-MinGW" , "description": "MinG-W32 (Debug)", "inherits": [ "base", "x86", "Debug", "GNUC" ], "environment": { "PATH": "$penv{PATH};c:/mingw32/bin" } }, | ||
| 201 | { "name": "x86-Release-MinGW", "description": "MinG-W32 (Release)", "inherits": [ "base", "x86", "Release", "GNUC" ], "environment": { "PATH": "$penv{PATH};c:/mingw32/bin" } }, | ||
| 202 | |||
| 203 | { "name": "x64-Debug-WSL" , "description": "WSL x64 (Debug) for Windows 11", "inherits": [ "base", "x64", "Debug" ] }, | ||
| 204 | { "name": "x64-Release-WSL" , "description": "WSL x64 (Release) for Windows 11", "inherits": [ "base", "x64", "Release" ] }, | ||
| 205 | { "name": "arm64-Debug-WSL" , "description": "WSL AArch64 (Debug) for Windows 11", "inherits": [ "base", "ARM64", "Debug" ] }, | ||
| 206 | { "name": "arm64-Release-WSL", "description": "WSL AArch64 (Release) for Windows 11", "inherits": [ "base", "ARM64", "Release" ] }, | ||
| 207 | |||
| 208 | { "name": "x64-Debug-Linux" , "description": "Linux x64 (Debug)", "inherits": [ "base", "x64", "Debug", "NoTests" ] }, | ||
| 209 | { "name": "x64-Release-Linux" , "description": "Linux x64 (Release)", "inherits": [ "base", "x64", "Release", "NoTests" ] }, | ||
| 210 | { "name": "arm64-Debug-Linux" , "description": "Linux AArch64 (Debug)", "inherits": [ "base", "ARM64", "Debug", "NoTests" ] }, | ||
| 211 | { "name": "arm64-Release-Linux", "description": "Linux AArch64 (Release)", "inherits": [ "base", "ARM64", "Release", "NoTests" ] } | ||
| 212 | ], | ||
| 213 | "testPresets": [ | ||
| 214 | { "name": "x64-Debug" , "configurePreset": "x64-Debug" }, | ||
| 215 | { "name": "x64-Release" , "configurePreset": "x64-Release" }, | ||
| 216 | { "name": "x86-Debug" , "configurePreset": "x86-Debug" }, | ||
| 217 | { "name": "x86-Release" , "configurePreset": "x86-Release" }, | ||
| 218 | |||
| 219 | { "name": "arm64-Debug" , "configurePreset": "arm64-Debug" }, | ||
| 220 | { "name": "arm64-Release" , "configurePreset": "arm64-Release" }, | ||
| 221 | { "name": "arm64ec-Debug" , "configurePreset": "arm64ec-Debug" }, | ||
| 222 | { "name": "arm64ec-Release", "configurePreset": "arm64ec-Release" } | ||
| 223 | ] | ||
| 224 | } | ||
