Parcourir la source

AK+Meta: Add a debug option for Solitaire

Timothy Flynn il y a 4 ans
Parent
commit
ce030ca584
2 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 4 0
      AK/Debug.h.in
  2. 1 0
      Meta/CMake/all_the_debug_macros.cmake

+ 4 - 0
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

+ 1 - 0
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)