зеркало из https://github.com/microsoft/FX11.git
108 строки
4.0 KiB
JSON
108 строки
4.0 KiB
JSON
{
|
|
"version": 2,
|
|
"configurePresets": [
|
|
{
|
|
"name": "base",
|
|
"displayName": "Basic Config",
|
|
"description": "Basic build using Ninja generator",
|
|
"generator": "Ninja",
|
|
"hidden": true,
|
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
|
"cacheVariables": { "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}" }
|
|
},
|
|
|
|
{
|
|
"name": "x64",
|
|
"architecture": {
|
|
"value": "x64",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": { "DIRECTX_ARCH": "x64" },
|
|
"hidden": true
|
|
},
|
|
{
|
|
"name": "x86",
|
|
"architecture": {
|
|
"value": "x86",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": { "DIRECTX_ARCH": "x86" },
|
|
"hidden": true
|
|
},
|
|
{
|
|
"name": "ARM64",
|
|
"architecture": {
|
|
"value": "arm64",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": { "DIRECTX_ARCH": "arm64" },
|
|
"hidden": true
|
|
},
|
|
|
|
{
|
|
"name": "Debug",
|
|
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" },
|
|
"hidden": true
|
|
},
|
|
{
|
|
"name": "Release",
|
|
"cacheVariables":
|
|
{
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": true
|
|
},
|
|
"hidden": true
|
|
},
|
|
|
|
{
|
|
"name": "MSVC",
|
|
"hidden": true,
|
|
"cacheVariables": {
|
|
"CMAKE_CXX_COMPILER": "cl.exe"
|
|
},
|
|
"toolset": {
|
|
"value": "host=x64",
|
|
"strategy": "external"
|
|
}
|
|
},
|
|
{
|
|
"name": "Clang",
|
|
"hidden": true,
|
|
"cacheVariables": {
|
|
"CMAKE_CXX_COMPILER": "clang-cl.exe"
|
|
},
|
|
"toolset": {
|
|
"value": "host=x64",
|
|
"strategy": "external"
|
|
}
|
|
},
|
|
|
|
{
|
|
"name": "UWP",
|
|
"cacheVariables": {
|
|
"CMAKE_SYSTEM_NAME": "WindowsStore",
|
|
"CMAKE_SYSTEM_VERSION": "10.0"
|
|
},
|
|
"hidden": true
|
|
},
|
|
|
|
{ "name": "x64-Debug" , "description": "MSVC for x64 (Debug)", "inherits": [ "base", "x64", "Debug", "MSVC" ] },
|
|
{ "name": "x64-Release" , "description": "MSVC for x64 (Release)", "inherits": [ "base", "x64", "Release", "MSVC" ] },
|
|
{ "name": "x86-Debug" , "description": "MSVC for x86 (Debug)", "inherits": [ "base", "x86", "Debug", "MSVC" ] },
|
|
{ "name": "x86-Release" , "description": "MSVC for x86 (Release)", "inherits": [ "base", "x86", "Release", "MSVC" ] },
|
|
{ "name": "arm64-Debug" , "description": "MSVC for ARM64 (Debug)", "inherits": [ "base", "ARM64", "Debug", "MSVC" ] },
|
|
{ "name": "arm64-Release" , "description": "MSVC for ARM64 (Release)", "inherits": [ "base", "ARM64", "Release", "MSVC" ] },
|
|
|
|
{ "name": "x64-Debug-UWP" , "description": "MSVC for x64 (Debug) for UWP", "inherits": [ "base", "x64", "Debug", "MSVC", "UWP" ] },
|
|
{ "name": "x64-Release-UWP" , "description": "MSVC for x64 (Release) for UWP", "inherits": [ "base", "x64", "Release", "MSVC", "UWP" ] },
|
|
{ "name": "x86-Debug-UWP" , "description": "MSVC for x86 (Debug) for UWP", "inherits": [ "base", "x86", "Debug", "MSVC", "UWP" ] },
|
|
{ "name": "x86-Release-UWP" , "description": "MSVC for x86 (Release) for UWP", "inherits": [ "base", "x86", "Release", "MSVC", "UWP" ] },
|
|
{ "name": "arm64-Debug-UWP" , "description": "MSVC for ARM64 (Debug) for UWP", "inherits": [ "base", "ARM64", "Debug", "MSVC", "UWP" ] },
|
|
{ "name": "arm64-Release-UWP", "description": "MSVC for ARM64 (Release) for UWP", "inherits": [ "base", "ARM64", "Release", "MSVC", "UWP" ] },
|
|
|
|
{ "name": "x64-Debug-Clang" , "description": "Clang/LLVM for x64 (Debug)", "inherits": [ "base", "x64", "Debug", "Clang" ] },
|
|
{ "name": "x64-Release-Clang" , "description": "Clang/LLVM for x64 (Release)", "inherits": [ "base", "x64", "Release", "Clang" ] },
|
|
{ "name": "x86-Debug-Clang" , "description": "Clang/LLVM for x86 (Debug)", "inherits": [ "base", "x86", "Debug", "Clang" ], "environment": { "CXXFLAGS": "-m32" } },
|
|
{ "name": "x86-Release-Clang" , "description": "Clang/LLVM for x86 (Release)", "inherits": [ "base", "x86", "Release", "Clang" ], "environment": { "CXXFLAGS": "-m32" } }
|
|
]
|
|
} |