https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0eeffc21430a8865f75ba689bce0302d5ae08998

commit 0eeffc21430a8865f75ba689bce0302d5ae08998
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Tue Mar 14 12:22:23 2023 +0900
Commit:     Katayama Hirofumi MZ <[email protected]>
CommitDate: Tue Mar 14 12:22:23 2023 +0900

    [REGEDIT] CMakeLists.txt: Enable _DEBUG on debugging
    
    CORE-18876
---
 base/applications/regedit/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/base/applications/regedit/CMakeLists.txt 
b/base/applications/regedit/CMakeLists.txt
index c26f2f42ec2..351a4696f11 100644
--- a/base/applications/regedit/CMakeLists.txt
+++ b/base/applications/regedit/CMakeLists.txt
@@ -1,6 +1,10 @@
 
 include_directories(BEFORE .)
 
+if(DBG)
+    add_definitions(-D_DEBUG=1)
+endif()
+
 list(APPEND SOURCE
     about.c
     childwnd.c

Reply via email to