Sfoglia il codice sorgente

AK+Meta: Add a debug option for Solitaire

Timothy Flynn 4 anni fa
parent
commit
ce030ca584
2 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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
 #cmakedefine01 SH_LANGUAGE_SERVER_DEBUG
 #endif
 #endif
 
 
+#ifndef SOLITAIRE_DEBUG
+#cmakedefine01 SOLITAIRE_DEBUG
+#endif
+
 #ifndef SPAM_DEBUG
 #ifndef SPAM_DEBUG
 #cmakedefine01 SPAM_DEBUG
 #cmakedefine01 SPAM_DEBUG
 #endif
 #endif

+ 1 - 0
Meta/CMake/all_the_debug_macros.cmake

@@ -178,6 +178,7 @@ set(LANGUAGE_SERVER_DEBUG ON)
 set(GL_DEBUG ON)
 set(GL_DEBUG ON)
 set(WASM_BINPARSER_DEBUG ON)
 set(WASM_BINPARSER_DEBUG ON)
 set(PDF_DEBUG ON)
 set(PDF_DEBUG ON)
+set(SOLITAIRE_DEBUG ON)
 
 
 # False positive: DEBUG is a flag but it works differently.
 # False positive: DEBUG is a flag but it works differently.
 # set(DEBUG ON)
 # set(DEBUG ON)