diff options
| author | Levent Kaya <levent@dev> | 2025-11-06 01:53:28 +0300 |
|---|---|---|
| committer | Levent Kaya <levent@dev> | 2025-11-06 01:53:28 +0300 |
| commit | d2bb3c90b4e8dffaabb2315df13a2dbd362bb1b7 (patch) | |
| tree | 7dbf1bf2302ce14de55b6545507274c12c3d7d3b /CMakePresets.json | |
| parent | 2140653c001a2ac415fb717d48ca2b55ff2aa037 (diff) | |
[feature] basic demo screen
Diffstat (limited to 'CMakePresets.json')
| -rw-r--r-- | CMakePresets.json | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/CMakePresets.json b/CMakePresets.json new file mode 100644 index 0000000..51f1a86 --- /dev/null +++ b/CMakePresets.json @@ -0,0 +1,87 @@ +{ + "version": 3, + "configurePresets": [ + { + "name": "debug", + "displayName": "Debug Build", + "description": "Debug build with symbols", + "binaryDir": "${sourceDir}/build/debug", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug", + "CMAKE_EXPORT_COMPILE_COMMANDS": "ON", + "BOLTDBG_BUILD_TESTS": "ON", + "BOLTDBG_BUILD_EXAMPLES": "ON", + "BOLTDBG_USE_SYSTEM_LIBS": "ON" + } + }, + { + "name": "release", + "displayName": "Release Build", + "description": "Optimized release build", + "binaryDir": "${sourceDir}/build/release", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Release", + "CMAKE_EXPORT_COMPILE_COMMANDS": "ON", + "BOLTDBG_BUILD_TESTS": "OFF", + "BOLTDBG_BUILD_EXAMPLES": "OFF", + "BOLTDBG_USE_SYSTEM_LIBS": "ON" + } + }, + { + "name": "debug-asan", + "displayName": "Debug with Address Sanitizer", + "description": "Debug build with ASAN enabled", + "binaryDir": "${sourceDir}/build/debug-asan", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug", + "CMAKE_EXPORT_COMPILE_COMMANDS": "ON", + "BOLTDBG_BUILD_TESTS": "ON", + "BOLTDBG_ENABLE_ASAN": "ON", + "BOLTDBG_USE_SYSTEM_LIBS": "ON" + } + }, + { + "name": "debug-ubsan", + "displayName": "Debug with UBSan", + "description": "Debug build with Undefined Behavior Sanitizer", + "binaryDir": "${sourceDir}/build/debug-ubsan", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug", + "CMAKE_EXPORT_COMPILE_COMMANDS": "ON", + "BOLTDBG_BUILD_TESTS": "ON", + "BOLTDBG_ENABLE_UBSAN": "ON", + "BOLTDBG_USE_SYSTEM_LIBS": "ON" + } + } + ], + "buildPresets": [ + { + "name": "debug", + "configurePreset": "debug" + }, + { + "name": "release", + "configurePreset": "release" + }, + { + "name": "debug-asan", + "configurePreset": "debug-asan" + } + ], + "testPresets": [ + { + "name": "debug", + "configurePreset": "debug", + "output": { + "outputOnFailure": true + } + }, + { + "name": "debug-asan", + "configurePreset": "debug-asan", + "output": { + "outputOnFailure": true + } + } + ] +} |
