Files
Seele/CMakePresets.json
T

81 lines
2.3 KiB
JSON
Raw Normal View History

2025-05-16 13:04:43 +02:00
{
2025-08-23 18:10:09 +02:00
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
"configurePresets": [
{
"name": "release",
"displayName": "Release (no ASan)",
"description": "Release build without sanitizers",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_INSTALL_PREFIX": "C:/Program Files/Seele"
}
2025-05-16 13:04:43 +02:00
},
2025-08-23 18:10:09 +02:00
{
"name": "release-asan",
"displayName": "Release (ASan)",
"description": "Release build with Address Sanitizer",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_CXX_FLAGS": "-fsanitize=address -fno-omit-frame-pointer",
"CMAKE_C_FLAGS": "-fsanitize=address -fno-omit-frame-pointer",
"CMAKE_EXE_LINKER_FLAGS": "-fsanitize=address",
"CMAKE_SHARED_LINKER_FLAGS": "-fsanitize=address",
"CMAKE_INSTALL_PREFIX": "C:/Program Files/Seele"
}
},
{
"name": "debug",
"displayName": "Debug (no ASan)",
"description": "Debug build without sanitizers",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "C:/Program Files/Seele"
}
},
{
"name": "debug-asan",
"displayName": "Debug (ASan)",
"description": "Debug build with Address Sanitizer",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_FLAGS": "-fsanitize=address -fno-omit-frame-pointer",
"CMAKE_C_FLAGS": "-fsanitize=address -fno-omit-frame-pointer",
"CMAKE_EXE_LINKER_FLAGS": "-fsanitize=address",
"CMAKE_SHARED_LINKER_FLAGS": "-fsanitize=address",
"CMAKE_INSTALL_PREFIX": "C:/Program Files/Seele"
}
}
],
"buildPresets": [
{
"name": "release",
"displayName": "Release (no ASan)",
"configurePreset": "release"
},
{
"name": "release-asan",
"displayName": "Release (ASan)",
"configurePreset": "release-asan"
},
{
"name": "debug",
"displayName": "Debug (no ASan)",
"configurePreset": "debug"
},
{
"name": "debug-asan",
"displayName": "Debug (ASan)",
"configurePreset": "debug-asan"
}
]
}