mirror of
https://github.com/microsoft/UVAtlas
synced 2024-11-09 13:50:05 +00:00
112 lines
5.7 KiB
JSON
112 lines
5.7 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"
|
|
},
|
|
"hidden": true
|
|
},
|
|
{
|
|
"name": "x86",
|
|
"architecture": {
|
|
"value": "x86",
|
|
"strategy": "external"
|
|
},
|
|
"hidden": true
|
|
},
|
|
{
|
|
"name": "ARM64",
|
|
"architecture": {
|
|
"value": "arm64",
|
|
"strategy": "external"
|
|
},
|
|
"hidden": true
|
|
},
|
|
|
|
{
|
|
"name": "Debug",
|
|
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" },
|
|
"hidden": true
|
|
},
|
|
{
|
|
"name": "Release",
|
|
"cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" },
|
|
"hidden": true
|
|
},
|
|
{
|
|
"name": "VCPKG",
|
|
"cacheVariables": {
|
|
"BUILD_TOOLS" : true,
|
|
"CMAKE_TOOLCHAIN_FILE": {
|
|
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
|
"type": "FILEPATH"
|
|
}
|
|
},
|
|
"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": "x64-Debug" , "description": "MSVC for x64 (Debug) Library only", "inherits": [ "base", "x64", "Debug", "MSVC" ] },
|
|
{ "name": "x64-Release" , "description": "MSVC for x64 (Release) Library only", "inherits": [ "base", "x64", "Release", "MSVC" ] },
|
|
{ "name": "x86-Debug" , "description": "MSVC for x86 (Debug) Library only", "inherits": [ "base", "x86", "Debug", "MSVC" ] },
|
|
{ "name": "x86-Release" , "description": "MSVC for x86 (Release) Library only", "inherits": [ "base", "x86", "Release", "MSVC" ] },
|
|
{ "name": "arm64-Debug" , "description": "MSVC for ARM64 (Debug) Library only", "inherits": [ "base", "ARM64", "Debug", "MSVC" ] },
|
|
{ "name": "arm64-Release", "description": "MSVC for ARM64 (Release) Library only", "inherits": [ "base", "ARM64", "Release", "MSVC" ] },
|
|
|
|
{ "name": "x64-Debug-VCPKG" , "description": "MSVC for x64 (Debug) uvatlastool", "inherits": [ "base", "x64", "Debug", "VCPKG", "MSVC" ] },
|
|
{ "name": "x64-Release-VCPKG" , "description": "MSVC for x64 (Release) uvatlastool", "inherits": [ "base", "x64", "Release", "VCPKG", "MSVC" ] },
|
|
{ "name": "x86-Debug-VCPKG" , "description": "MSVC for x86 (Debug) uvatlastool", "inherits": [ "base", "x86", "Debug", "VCPKG", "MSVC" ] },
|
|
{ "name": "x86-Release-VCPKG" , "description": "MSVC for x86 (Release) uvatlastool", "inherits": [ "base", "x86", "Release", "VCPKG", "MSVC" ] },
|
|
{ "name": "arm64-Debug-VCPKG" , "description": "MSVC for ARM64 (Debug) uvatlastool", "inherits": [ "base", "ARM64", "Debug", "VCPKG", "MSVC" ] },
|
|
{ "name": "arm64-Release-VCPKG", "description": "MSVC for ARM64 (Release) uvatlastool", "inherits": [ "base", "ARM64", "Release", "VCPKG", "MSVC" ] },
|
|
|
|
{ "name": "x64-Debug-Clang" , "description": "Clang/LLVM for x64 (Debug) Library only", "inherits": [ "base", "x64", "Debug", "Clang" ] },
|
|
{ "name": "x64-Release-Clang" , "description": "Clang/LLVM for x64 (Release) Library only", "inherits": [ "base", "x64", "Release", "Clang" ] },
|
|
{ "name": "x86-Debug-Clang" , "description": "Clang/LLVM for x86 (Debug) Library only", "inherits": [ "base", "x86", "Debug", "Clang" ], "environment": { "CXXFLAGS": "-m32" } },
|
|
{ "name": "x86-Release-Clang" , "description": "Clang/LLVM for x86 (Release) Library only", "inherits": [ "base", "x86", "Release", "Clang" ], "environment": { "CXXFLAGS": "-m32" } },
|
|
{ "name": "arm64-Debug-Clang" , "description": "Clang/LLVM for AArch64 (Debug) Library only", "inherits": [ "base", "ARM64", "Debug", "Clang" ], "environment": { "CXXFLAGS": "--target=arm64-pc-windows-msvc" } },
|
|
{ "name": "arm64-Release-Clang", "description": "Clang/LLVM for AArch64 (Release) Library only", "inherits": [ "base", "ARM64", "Release", "Clang" ], "environment": { "CXXFLAGS": "--target=arm64-pc-windows-msvc" } },
|
|
|
|
{ "name": "x64-Debug-VCPKG-Clang" , "description": "Clang/LLVM for x64 (Debug) uvatlastool", "inherits": [ "base", "x64", "Debug", "VCPKG", "Clang" ] },
|
|
{ "name": "x64-Release-VCPKG-Clang" , "description": "Clang/LLVM for x64 (Release) uvatlastool", "inherits": [ "base", "x64", "Release", "VCPKG", "Clang" ] },
|
|
{ "name": "x86-Debug-VCPKG-Clang" , "description": "Clang/LLVM for x86 (Debug) uvatlastool", "inherits": [ "base", "x86", "Debug", "VCPKG", "Clang" ], "environment": { "CXXFLAGS": "-m32" } },
|
|
{ "name": "x86-Release-VCPKG-Clang" , "description": "Clang/LLVM for x86 (Release) uvatlastool", "inherits": [ "base", "x86", "Release", "VCPKG", "Clang" ], "environment": { "CXXFLAGS": "-m32" } },
|
|
{ "name": "arm64-Debug-VCPKG-Clang" , "description": "Clang/LLVM for AArch64 (Debug) uvatlastool", "inherits": [ "base", "ARM64", "Debug", "VCPKG", "Clang" ], "environment": { "CXXFLAGS": "--target=arm64-pc-windows-msvc" } },
|
|
{ "name": "arm64-Release-VCPKG-Clang", "description": "Clang/LLVM for AArch64 (Release) uvatlastool", "inherits": [ "base", "ARM64", "Release", "VCPKG", "Clang" ], "environment": { "CXXFLAGS": "--target=arm64-pc-windows-msvc" } }
|
|
]
|
|
} |