2022-02-08 00:15:37 +00:00
|
|
|
{
|
2021-11-09 23:22:49 -05:00
|
|
|
"version": 2,
|
|
|
|
"configurePresets": [
|
|
|
|
{
|
2022-07-03 17:35:39 -04:00
|
|
|
"name": "base",
|
|
|
|
"hidden": true,
|
2021-11-09 23:22:49 -05: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 20:26:04 -04:00
|
|
|
"ASAN_BUILD": "OFF",
|
|
|
|
"STATICALLY_LINK": "OFF",
|
|
|
|
"ZYDIS_BUILD_SHARED_LIB": "ON"
|
2022-07-03 17:35:39 -04:00
|
|
|
}
|
2022-02-08 00:15:37 +00:00
|
|
|
},
|
|
|
|
{
|
2022-07-03 17:35:39 -04: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 17:35:39 -04:00
|
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
|
|
}
|
2022-04-15 23:32:37 +01:00
|
|
|
},
|
|
|
|
{
|
2022-07-03 17:35:39 -04:00
|
|
|
"name": "base-relwithdeb",
|
|
|
|
"hidden": true,
|
|
|
|
"inherits": "base",
|
2022-04-15 23:32:37 +01:00
|
|
|
"binaryDir": "${sourceDir}/out/build/Release",
|
|
|
|
"cacheVariables": {
|
2022-07-03 17:35:39 -04: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 18:01:47 -04:00
|
|
|
{
|
|
|
|
"name": "Release-clang-static",
|
2022-07-03 17:35:39 -04:00
|
|
|
"displayName": "Windows Static Release (clang)",
|
|
|
|
"description": "Build with Clang as Release but statically linked",
|
|
|
|
"inherits": ["base-release", "base-clang"],
|
2022-04-15 18:01:47 -04:00
|
|
|
"cacheVariables": {
|
2022-07-03 20:26:04 -04:00
|
|
|
"STATICALLY_LINK": "true",
|
|
|
|
"ZYDIS_BUILD_SHARED_LIB": "OFF"
|
2022-07-03 17:35:39 -04:00
|
|
|
}
|
2022-04-15 18:01:47 -04:00
|
|
|
},
|
2022-02-08 00:15:37 +00:00
|
|
|
{
|
|
|
|
"name": "Debug-msvc",
|
|
|
|
"displayName": "Windows Debug (msvc)",
|
2022-07-03 17:35:39 -04:00
|
|
|
"description": "Build with MSVC's CL with Debug Symbols",
|
|
|
|
"inherits": ["base-debug", "base-msvc"]
|
2021-11-09 23:22:49 -05:00
|
|
|
},
|
|
|
|
{
|
2022-02-08 00:15:37 +00:00
|
|
|
"name": "Release-msvc",
|
|
|
|
"displayName": "Windows Release (msvc)",
|
2022-07-03 17:35:39 -04:00
|
|
|
"description": "Build with MSVC's CL as Release without Debug Symbols",
|
|
|
|
"inherits": ["base-release", "base-msvc"]
|
2021-11-09 23:22:49 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|