2022-02-08 00:15:37 +00:00
|
|
|
{
|
2021-11-10 04:22:49 +00:00
|
|
|
"version": 2,
|
|
|
|
"configurePresets": [
|
|
|
|
{
|
2022-07-03 21:35:39 +00:00
|
|
|
"name": "base",
|
|
|
|
"hidden": true,
|
2021-11-10 04:22:49 +00:00
|
|
|
"generator": "Ninja",
|
2022-02-08 00:15:37 +00:00
|
|
|
"architecture": {
|
|
|
|
"value": "x64",
|
|
|
|
"strategy": "external"
|
|
|
|
},
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
|
|
"INSTALL_GTEST": "True",
|
2022-07-03 21:35:39 +00:00
|
|
|
"ASAN_BUILD": "OFF"
|
|
|
|
}
|
2022-02-08 00:15:37 +00:00
|
|
|
},
|
|
|
|
{
|
2022-07-03 21:35:39 +00:00
|
|
|
"name": "base-release",
|
|
|
|
"hidden": true,
|
|
|
|
"inherits": "base",
|
2022-02-08 00:15:37 +00:00
|
|
|
"binaryDir": "${sourceDir}/out/build/Release",
|
|
|
|
"cacheVariables": {
|
2022-07-03 21:35:39 +00:00
|
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
|
|
}
|
2022-04-15 22:32:37 +00:00
|
|
|
},
|
|
|
|
{
|
2022-07-03 21:35:39 +00:00
|
|
|
"name": "base-relwithdeb",
|
|
|
|
"hidden": true,
|
|
|
|
"inherits": "base",
|
2022-04-15 22:32:37 +00:00
|
|
|
"binaryDir": "${sourceDir}/out/build/Release",
|
|
|
|
"cacheVariables": {
|
2022-07-03 21:35:39 +00:00
|
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "base-debug",
|
|
|
|
"hidden": true,
|
|
|
|
"inherits": "base",
|
|
|
|
"binaryDir": "${sourceDir}/out/build/Debug",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "base-clang",
|
|
|
|
"hidden": true,
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_C_COMPILER": "clang",
|
|
|
|
"CMAKE_CXX_COMPILER": "clang++"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "base-msvc",
|
|
|
|
"hidden": true,
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_C_COMPILER": "cl",
|
|
|
|
"CMAKE_CXX_COMPILER": "cl"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug-clang",
|
|
|
|
"displayName": "Windows Debug (clang)",
|
|
|
|
"description": "Build with Clang with Debug Symbols",
|
|
|
|
"inherits": ["base-debug", "base-clang"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "RelWithDebInfo-clang",
|
|
|
|
"displayName": "Windows RelWithDebInfo (clang)",
|
|
|
|
"description": "Build with Clang as Release with Debug Symbols",
|
|
|
|
"inherits": ["base-relwithdeb", "base-clang"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Release-clang",
|
|
|
|
"displayName": "Windows Release (clang)",
|
|
|
|
"description": "Build with Clang as Release without Debug Symbols",
|
|
|
|
"inherits": ["base-release", "base-clang"]
|
2022-02-08 00:15:37 +00:00
|
|
|
},
|
2022-04-15 22:01:47 +00:00
|
|
|
{
|
|
|
|
"name": "Release-clang-static",
|
2022-07-03 21:35:39 +00:00
|
|
|
"displayName": "Windows Static Release (clang)",
|
|
|
|
"description": "Build with Clang as Release but statically linked",
|
|
|
|
"inherits": ["base-release", "base-clang"],
|
2022-04-15 22:01:47 +00:00
|
|
|
"cacheVariables": {
|
2022-07-03 21:35:39 +00:00
|
|
|
"STATICALLY_LINK": "true"
|
|
|
|
}
|
2022-04-15 22:01:47 +00:00
|
|
|
},
|
2022-02-08 00:15:37 +00:00
|
|
|
{
|
|
|
|
"name": "Debug-msvc",
|
|
|
|
"displayName": "Windows Debug (msvc)",
|
2022-07-03 21:35:39 +00:00
|
|
|
"description": "Build with MSVC's CL with Debug Symbols",
|
|
|
|
"inherits": ["base-debug", "base-msvc"]
|
2021-11-10 04:22:49 +00:00
|
|
|
},
|
|
|
|
{
|
2022-02-08 00:15:37 +00:00
|
|
|
"name": "Release-msvc",
|
|
|
|
"displayName": "Windows Release (msvc)",
|
2022-07-03 21:35:39 +00:00
|
|
|
"description": "Build with MSVC's CL as Release without Debug Symbols",
|
|
|
|
"inherits": ["base-release", "base-msvc"]
|
2021-11-10 04:22:49 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|