mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Meta: Add a debug build CMake preset
Since the default mode now only builds release vcpkg libraries, having an easy-to-create debug build will be convenient.
This commit is contained in:
@@ -30,6 +30,29 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Debug",
|
||||
"inherits": "default",
|
||||
"displayName": "Debug Config",
|
||||
"description": "Debug build using Ninja generator",
|
||||
"binaryDir": "${sourceDir}/Build/ladybird-debug",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Debug",
|
||||
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/Meta/CMake/vcpkg/debug-triplets"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Sanitizer",
|
||||
"inherits": "Debug",
|
||||
"displayName": "Sanitizer Config",
|
||||
"description": "Debug build using Sanitizers",
|
||||
"binaryDir": "${sourceDir}/Build/ladybird-sanitizers",
|
||||
"cacheVariables": {
|
||||
"ENABLE_UNDEFINED_SANITIZER": "ON",
|
||||
"ENABLE_ADDRESS_SANITIZER": "ON",
|
||||
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/Meta/CMake/vcpkg/sanitizer-triplets"
|
||||
}
|
||||
},
|
||||
{
|
||||
"hidden": true,
|
||||
"name": "vcpkg_ci",
|
||||
@@ -38,19 +61,6 @@
|
||||
"VCPKG_BINARY_SOURCES": "clear;x-gha,readwrite"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Sanitizer",
|
||||
"inherits": "default",
|
||||
"displayName": "Sanitizer Config",
|
||||
"description": "Debug build using Sanitizers",
|
||||
"binaryDir": "${sourceDir}/Build/ladybird-sanitizers",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Debug",
|
||||
"ENABLE_UNDEFINED_SANITIZER": "ON",
|
||||
"ENABLE_ADDRESS_SANITIZER": "ON",
|
||||
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/Meta/CMake/vcpkg/sanitizer-triplets"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CI",
|
||||
"inherits": ["vcpkg_ci", "default" ],
|
||||
|
||||
Reference in New Issue
Block a user