summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-05-15 22:12:22 -0400
committerAndreas Kling <kling@serenityos.org>2021-05-16 16:37:51 +0200
commitce030ca584b0311c97466f4b30ebd7e989a51a17 (patch)
tree68c86d6b03c7e14b6ebac9fb52f62691159f7f1a
parent68e86dc8048479ea7ef72468ba60960bbccc7140 (diff)
downloadserenity-ce030ca584b0311c97466f4b30ebd7e989a51a17.zip
AK+Meta: Add a debug option for Solitaire
-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 d5f7b6aad5..cdbbb622db 100644
--- a/AK/Debug.h.in
+++ b/AK/Debug.h.in
@@ -342,6 +342,10 @@
#cmakedefine01 SH_LANGUAGE_SERVER_DEBUG
#endif
+#ifndef SOLITAIRE_DEBUG
+#cmakedefine01 SOLITAIRE_DEBUG
+#endif
+
#ifndef SPAM_DEBUG
#cmakedefine01 SPAM_DEBUG
#endif
diff --git a/Meta/CMake/all_the_debug_macros.cmake b/Meta/CMake/all_the_debug_macros.cmake
index 644dab935d..66e696b2ec 100644
--- a/Meta/CMake/all_the_debug_macros.cmake
+++ b/Meta/CMake/all_the_debug_macros.cmake
@@ -178,6 +178,7 @@ set(LANGUAGE_SERVER_DEBUG ON)
set(GL_DEBUG ON)
set(WASM_BINPARSER_DEBUG ON)
set(PDF_DEBUG ON)
+set(SOLITAIRE_DEBUG ON)
# False positive: DEBUG is a flag but it works differently.
# set(DEBUG ON)