Files
freeminer/CMakePresets.json
2025-07-03 02:21:17 +02:00

104 lines
2.5 KiB
JSON

{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 12
},
"configurePresets": [
{
"name": "Debug",
"displayName": "Debug",
"description": "Debug preset with debug symbols and no optimizations",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "Release",
"displayName": "Release",
"description": "Release preset with optimizations and no debug symbols",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "RelWithDebInfo",
"displayName": "RelWithDebInfo",
"description": "Release with debug symbols",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "MinSizeRel",
"displayName": "MinSizeRel",
"description": "Release with minimal code size",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "MinSizeRel"
}
}
,{
"name": "asan",
"displayName": "asan",
"description": "Instrument with Address Sanitizer : RelWithDebInfo",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"SANITIZE_ADDRESS": "ON"
}
},
{
"name": "asan_debug",
"displayName": "asan debug",
"description": "Instrument with Address Sanitizer : Debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"SANITIZE_ADDRESS": "ON"
}
},
{
"name": "tsan",
"displayName": "tsan",
"description": "Instrument with Thread Sanitizer",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"SANITIZE_THREAD": "ON"
}
},
{
"name": "tsan_debug",
"displayName": "tsan debug",
"description": "Instrument with Thread Sanitizer",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"SANITIZE_THREAD": "ON"
}
},
{
"name": "msan",
"displayName": "msan",
"description": "Instrument with Memory Sanitizer",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"SANITIZE_MEMORY": "ON"
}
},
{
"name": "ubsan",
"displayName": "ubsan",
"description": "Instrument with UB Sanitizer",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"SANITIZE_UNDEFINED": "ON"
}
},
{
"name": "gperf",
"displayName": "gperf",
"description": "gperf",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"ENABLE_GPERF": "ON"
}
}
]
}