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