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": {
|
|
|
|
"INSTALL_GTEST": "True",
|
2022-07-03 20:26:04 -04:00
|
|
|
"ASAN_BUILD": "OFF",
|
|
|
|
"STATICALLY_LINK": "OFF",
|
2022-07-16 19:25:10 -04:00
|
|
|
"ZYDIS_BUILD_SHARED_LIB": "ON",
|
2023-07-16 09:13:48 -06:00
|
|
|
"CODE_COVERAGE": "OFF",
|
|
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
|
2022-07-03 17:35:39 -04:00
|
|
|
}
|
2022-02-08 00:15:37 +00:00
|
|
|
},
|
|
|
|
{
|
2022-07-16 19:25:10 -04:00
|
|
|
"name": "base-windows-release",
|
2022-07-03 17:35:39 -04:00
|
|
|
"hidden": true,
|
|
|
|
"inherits": "base",
|
2022-02-08 00:15:37 +00:00
|
|
|
"binaryDir": "${sourceDir}/out/build/Release",
|
|
|
|
"cacheVariables": {
|
2022-07-16 19:25:10 -04:00
|
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
|
2022-07-03 17:35:39 -04:00
|
|
|
}
|
2022-04-15 23:32:37 +01:00
|
|
|
},
|
|
|
|
{
|
2022-07-16 19:25:10 -04:00
|
|
|
"name": "base-windows-relwithdeb",
|
2022-07-03 17:35:39 -04:00
|
|
|
"hidden": true,
|
|
|
|
"inherits": "base",
|
2022-07-18 00:03:18 +01:00
|
|
|
"binaryDir": "${sourceDir}/out/build/Release",
|
2022-04-15 23:32:37 +01:00
|
|
|
"cacheVariables": {
|
2022-07-16 19:25:10 -04:00
|
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
|
2022-07-03 17:35:39 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2022-07-16 19:25:10 -04:00
|
|
|
"name": "base-windows-debug",
|
2022-07-03 17:35:39 -04:00
|
|
|
"hidden": true,
|
|
|
|
"inherits": "base",
|
|
|
|
"binaryDir": "${sourceDir}/out/build/Debug",
|
|
|
|
"cacheVariables": {
|
2022-07-16 19:25:10 -04:00
|
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "base-linux-release",
|
|
|
|
"hidden": true,
|
|
|
|
"inherits": "base",
|
|
|
|
"binaryDir": "${sourceDir}/build/Release/bin",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/install/${presetName}"
|
2022-07-03 17:35:39 -04:00
|
|
|
}
|
|
|
|
},
|
2023-09-03 16:17:35 -06:00
|
|
|
{
|
|
|
|
"name": "base-linux-debug",
|
|
|
|
"hidden": true,
|
|
|
|
"inherits": "base",
|
|
|
|
"binaryDir": "${sourceDir}/build/Release/bin",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/install/${presetName}"
|
|
|
|
}
|
|
|
|
},
|
2022-12-22 18:12:59 -05:00
|
|
|
{
|
|
|
|
"name": "base-macos-release",
|
|
|
|
"hidden": true,
|
|
|
|
"inherits": "base",
|
|
|
|
"binaryDir": "${sourceDir}/build/Release/bin",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/install/${presetName}"
|
|
|
|
}
|
|
|
|
},
|
2022-07-03 17:35:39 -04:00
|
|
|
{
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2022-07-16 19:25:10 -04:00
|
|
|
"name": "base-gcc",
|
|
|
|
"hidden": true,
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_C_COMPILER": "gcc",
|
|
|
|
"CMAKE_CXX_COMPILER": "g++"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug-windows-clang",
|
2022-07-03 17:35:39 -04:00
|
|
|
"displayName": "Windows Debug (clang)",
|
|
|
|
"description": "Build with Clang with Debug Symbols",
|
2022-07-16 19:25:10 -04:00
|
|
|
"inherits": ["base-windows-debug", "base-clang"]
|
2022-07-03 17:35:39 -04:00
|
|
|
},
|
2024-01-18 20:32:30 -05:00
|
|
|
{
|
|
|
|
"name": "Debug-windows-clang-static",
|
|
|
|
"displayName": "Windows Static Debug (clang)",
|
|
|
|
"description": "Build with Clang as Debug but statically linked",
|
|
|
|
"inherits": ["base-windows-debug", "base-clang"],
|
|
|
|
"cacheVariables": {
|
|
|
|
"STATICALLY_LINK": "true",
|
|
|
|
"ZYDIS_BUILD_SHARED_LIB": "OFF"
|
|
|
|
}
|
|
|
|
},
|
2022-07-03 17:35:39 -04:00
|
|
|
{
|
2022-07-16 19:25:10 -04:00
|
|
|
"name": "RelWithDebInfo-windows-clang",
|
2022-07-03 17:35:39 -04:00
|
|
|
"displayName": "Windows RelWithDebInfo (clang)",
|
|
|
|
"description": "Build with Clang as Release with Debug Symbols",
|
2022-07-16 19:25:10 -04:00
|
|
|
"inherits": ["base-windows-relwithdeb", "base-clang"]
|
2022-07-03 17:35:39 -04:00
|
|
|
},
|
|
|
|
{
|
2022-07-16 19:25:10 -04:00
|
|
|
"name": "Release-windows-clang",
|
2022-07-03 17:35:39 -04:00
|
|
|
"displayName": "Windows Release (clang)",
|
|
|
|
"description": "Build with Clang as Release without Debug Symbols",
|
2022-07-16 19:25:10 -04:00
|
|
|
"inherits": ["base-windows-release", "base-clang"]
|
2022-02-08 00:15:37 +00:00
|
|
|
},
|
2022-04-15 18:01:47 -04:00
|
|
|
{
|
2022-07-16 19:25:10 -04:00
|
|
|
"name": "Release-windows-clang-static",
|
2022-07-03 17:35:39 -04:00
|
|
|
"displayName": "Windows Static Release (clang)",
|
|
|
|
"description": "Build with Clang as Release but statically linked",
|
2022-07-16 19:25:10 -04:00
|
|
|
"inherits": ["base-windows-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
|
|
|
{
|
2022-07-16 19:25:10 -04:00
|
|
|
"name": "Debug-windows-msvc",
|
2022-02-08 00:15:37 +00:00
|
|
|
"displayName": "Windows Debug (msvc)",
|
2022-07-03 17:35:39 -04:00
|
|
|
"description": "Build with MSVC's CL with Debug Symbols",
|
2022-07-16 19:25:10 -04:00
|
|
|
"inherits": ["base-windows-debug", "base-msvc"]
|
2021-11-09 23:22:49 -05:00
|
|
|
},
|
|
|
|
{
|
2022-07-16 19:25:10 -04:00
|
|
|
"name": "Release-windows-msvc",
|
2022-02-08 00:15:37 +00:00
|
|
|
"displayName": "Windows Release (msvc)",
|
2022-07-03 17:35:39 -04:00
|
|
|
"description": "Build with MSVC's CL as Release without Debug Symbols",
|
2022-07-16 19:25:10 -04:00
|
|
|
"inherits": ["base-windows-release", "base-msvc"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Release-linux-clang",
|
|
|
|
"displayName": "Linux Release (clang)",
|
|
|
|
"description": "Build with Clang as Release without Debug Symbols",
|
|
|
|
"inherits": ["base-linux-release", "base-clang"]
|
|
|
|
},
|
2022-12-22 18:12:59 -05:00
|
|
|
{
|
|
|
|
"name": "Release-macos-clang",
|
|
|
|
"displayName": "MacOS Release (clang)",
|
|
|
|
"description": "Build with Clang as Release without Debug Symbols",
|
|
|
|
"inherits": ["base-macos-release", "base-clang"]
|
|
|
|
},
|
2023-07-09 00:09:41 +02:00
|
|
|
{
|
|
|
|
"name": "Release-macos-clang-static",
|
|
|
|
"displayName": "MacOS Static Release (clang)",
|
|
|
|
"description": "Build with Clang as Release without Debug Symbols but statically linked",
|
|
|
|
"inherits": ["base-macos-release", "base-clang"],
|
|
|
|
"cacheVariables": {
|
|
|
|
"STATICALLY_LINK": "true",
|
|
|
|
"ZYDIS_BUILD_SHARED_LIB": "OFF"
|
|
|
|
}
|
|
|
|
},
|
2022-07-16 19:25:10 -04:00
|
|
|
{
|
|
|
|
"name": "Release-linux-clang-asan",
|
|
|
|
"displayName": "Linux Release (clang-asan)",
|
|
|
|
"description": "Build with Clang as Release without Debug Symbols and ASAN Fuzzing",
|
|
|
|
"inherits": ["base-linux-release", "base-clang"],
|
|
|
|
"cacheVariables": {
|
2023-04-30 13:27:08 -05:00
|
|
|
"ASAN_BUILD": "OFF"
|
2022-07-16 19:25:10 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Release-linux-clang-static",
|
|
|
|
"displayName": "Linux Static Release (clang)",
|
|
|
|
"description": "Build with Clang as Release without Debug Symbols but statically linked",
|
|
|
|
"inherits": ["base-linux-release", "base-clang"],
|
|
|
|
"cacheVariables": {
|
|
|
|
"STATICALLY_LINK": "true",
|
|
|
|
"ZYDIS_BUILD_SHARED_LIB": "OFF"
|
|
|
|
}
|
|
|
|
},
|
2023-09-03 16:17:35 -06:00
|
|
|
{
|
|
|
|
"name": "Debug-linux-clang-static",
|
|
|
|
"displayName": "Linux Static Release (clang)",
|
|
|
|
"description": "Build with Clang as Release without Debug Symbols but statically linked",
|
|
|
|
"inherits": ["base-linux-debug", "base-clang"],
|
|
|
|
"cacheVariables": {
|
|
|
|
"STATICALLY_LINK": "true",
|
|
|
|
"ZYDIS_BUILD_SHARED_LIB": "OFF"
|
|
|
|
}
|
|
|
|
},
|
2022-07-16 19:25:10 -04:00
|
|
|
{
|
|
|
|
"name": "Release-linux-gcc",
|
|
|
|
"displayName": "Linux Release (gcc)",
|
|
|
|
"description": "Build with GCC as Release without Debug Symbols",
|
|
|
|
"inherits": ["base-linux-release", "base-gcc"]
|
2021-11-09 23:22:49 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|