From 598dd51d70ff9007e5cca8f0dec4d1ea3e6a4e93 Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Tue, 14 Mar 2023 12:17:40 +0900 Subject: [PATCH] [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