summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-04-18 17:34:17 -0400
committerAndreas Kling <kling@serenityos.org>2021-04-20 18:28:34 +0200
commit55b7b8e93080aa7e9c52db505da32dfa00b4b4bc (patch)
treeb98847fbabcd6858af13ffc6a7a614d278e493db
parent492f7132d297edc66efdad5a87135bbcef608c8b (diff)
downloadserenity-55b7b8e93080aa7e9c52db505da32dfa00b4b4bc.zip
AK+Meta: Add a debug option for LibSQL
-rw-r--r--AK/Debug.h.in4
-rw-r--r--Meta/CMake/all_the_debug_macros.cmake1
2 files changed, 5 insertions, 0 deletions
diff --git a/AK/Debug.h.in b/AK/Debug.h.in
index d89845cea4..afb24e9a08 100644
--- a/AK/Debug.h.in
+++ b/AK/Debug.h.in
@@ -358,6 +358,10 @@
#cmakedefine01 SPAM_DEBUG
#endif
+#ifndef SQL_DEBUG
+#cmakedefine01 SQL_DEBUG
+#endif
+
#ifndef STRINGIMPL_DEBUG
#cmakedefine01 STRINGIMPL_DEBUG
#endif
diff --git a/Meta/CMake/all_the_debug_macros.cmake b/Meta/CMake/all_the_debug_macros.cmake
index 93f239574a..f570864d55 100644
--- a/Meta/CMake/all_the_debug_macros.cmake
+++ b/Meta/CMake/all_the_debug_macros.cmake
@@ -69,6 +69,7 @@ set(MARKDOWN_DEBUG ON)
set(REGEX_DEBUG ON)
set(TLS_DEBUG ON)
set(SPAM_DEBUG ON)
+set(SQL_DEBUG ON)
set(PARSER_DEBUG ON)
set(TOKENIZER_TRACE_DEBUG ON)
set(IMAGE_LOADER_DEBUG ON)