https://git.reactos.org/?p=reactos.git;a=commitdiff;h=598dd51d70ff9007e5cca…
commit 598dd51d70ff9007e5cca8f0dec4d1ea3e6a4e93
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Tue Mar 14 12:17:40 2023 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Tue Mar 14 12:17:40 2023 +0900
[NOTEPAD] CMakeLists.txt: Enable _DEBUG on debugging
CORE-18837
---
base/applications/notepad/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/base/applications/notepad/CMakeLists.txt
b/base/applications/notepad/CMakeLists.txt
index f9a534a70e5..1ac29659cfe 100644
--- a/base/applications/notepad/CMakeLists.txt
+++ b/base/applications/notepad/CMakeLists.txt
@@ -1,4 +1,8 @@
+if(DBG)
+ add_definitions(-D_DEBUG=1)
+endif()
+
list(APPEND SOURCE
dialog.c
main.c