1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:27:35 +00:00

Meta: Remove unused debug flags, add missing GENERATE_DEBUG

Commands that were helpful while investigating this:
```
grep -P '^set' Meta/CMake/all_the_debug_macros.cmake \
  | sed -Ee 's,set\((.+) ON\)$,\1,' > macros.lst
for i in $(cat macros.lst); do
  echo -n "$i "; git grep -Pn '\b'"$i"'\b' | wc -l
done | tee matches.lst
sort -k2 -n matches.lst
```
This commit is contained in:
Ben Wiederhake 2023-05-14 18:17:15 +02:00 committed by Andrew Kaster
parent c56481e73f
commit 173f872cda
4 changed files with 15 additions and 106 deletions

View file

@ -58,10 +58,6 @@
# cmakedefine01 CRYPTO_DEBUG
#endif
#ifndef CSOCKET_DEBUG
# cmakedefine01 CSOCKET_DEBUG
#endif
#ifndef CSS_LOADER_DEBUG
# cmakedefine01 CSS_LOADER_DEBUG
#endif
@ -74,18 +70,10 @@
# cmakedefine01 CSS_TOKENIZER_DEBUG
#endif
#ifndef CURSOR_TOOL_DEBUG
# cmakedefine01 CURSOR_TOOL_DEBUG
#endif
#ifndef DDS_DEBUG
# cmakedefine01 DDS_DEBUG
#endif
#ifndef DEFERRED_INVOKE_DEBUG
# cmakedefine01 DEFERRED_INVOKE_DEBUG
#endif
#ifndef DHCPV4_DEBUG
# cmakedefine01 DHCPV4_DEBUG
#endif
@ -138,10 +126,6 @@
# cmakedefine01 EVENT_DEBUG
#endif
#ifndef EVENTLOOP_DEBUG
# cmakedefine01 EVENTLOOP_DEBUG
#endif
#ifndef FILE_CONTENT_DEBUG
# cmakedefine01 FILE_CONTENT_DEBUG
#endif
@ -158,10 +142,6 @@
# cmakedefine01 GEMINI_DEBUG
#endif
#ifndef GEMINIJOB_DEBUG
# cmakedefine01 GEMINIJOB_DEBUG
#endif
#ifndef GENERATE_DEBUG
# cmakedefine01 GENERATE_DEBUG
#endif
@ -186,10 +166,6 @@
# cmakedefine01 GPT_DEBUG
#endif
#ifndef GZIP_DEBUG
# cmakedefine01 GZIP_DEBUG
#endif
#ifndef HEAP_DEBUG
# cmakedefine01 HEAP_DEBUG
#endif
@ -214,10 +190,6 @@
# cmakedefine01 HTTPJOB_DEBUG
#endif
#ifndef HTTPSJOB_DEBUG
# cmakedefine01 HTTPSJOB_DEBUG
#endif
#ifndef HUNKS_DEBUG
# cmakedefine01 HUNKS_DEBUG
#endif
@ -310,14 +282,6 @@
# cmakedefine01 MENU_DEBUG
#endif
#ifndef MENUS_DEBUG
# cmakedefine01 MENUS_DEBUG
#endif
#ifndef MINIMIZE_ANIMATION_DEBUG
# cmakedefine01 MINIMIZE_ANIMATION_DEBUG
#endif
#ifndef MOVE_DEBUG
# cmakedefine01 MOVE_DEBUG
#endif
@ -394,10 +358,6 @@
# cmakedefine01 RSA_PARSE_DEBUG
#endif
#ifndef SAFE_SYSCALL_DEBUG
# cmakedefine01 SAFE_SYSCALL_DEBUG
#endif
#ifndef SERVICE_DEBUG
# cmakedefine01 SERVICE_DEBUG
#endif