Skip to contentSkip to conversation

cmake: Enable debugger support in CMake

PATCH In review Nikhil R 2 participants 2 messages Jul 30, 2025

lore
Share & tools
lore

Nikhil R

author
#0 lore raw

PATCH 1/1 cmake: Enable debugger support in CMake

Starting from CMake version 3.27 support for interactive debugging of CMake scripts and configurations was added. However, by default the nativesdk-cmake is compiled with debugger support turned off. This change enables it.

---
 meta/recipes-devtools/cmake/cmake_3.28.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/cmake/cmake_3.28.3.bb +1 -1
index 63d483801a..5c3b6247fc 100644
@@ -44,7 +44,7 @@ EXTRA_OECMAKE=" \
     -DKWSYS_CHAR_IS_SIGNED=1 \
     -DBUILD_CursesDialog=0 \
     -DKWSYS_LFS_WORKS=1 \
-    -DCMake_ENABLE_DEBUGGER=0 \
+    -DCMake_ENABLE_DEBUGGER=1 \
 "
 
 do_install:append:class-nativesdk() {

--
2.34.1

This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.

#1 lore raw

This change would need to be accepted in the master branch before I could even consider taking it for stable branches.

Steve

Quoted 36 lines · Nikhil via lists.openembedded.org

Starting from CMake version 3.27 support for interactive debugging of CMake scripts and configurations was added. However, by default the nativesdk-cmake is compiled with debugger support turned off. This change enables it.

---
 meta/recipes-devtools/cmake/cmake_3.28.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/cmake/cmake_3.28.3.bb +1 -2
index 63d483801a..5c3b6247fc 100644
@@ -44,7 +44,7 @@ EXTRA_OECMAKE=" \
     -DKWSYS_CHAR_IS_SIGNED=1 \
     -DBUILD_CursesDialog=0 \
     -DKWSYS_LFS_WORKS=1 \
-    -DCMake_ENABLE_DEBUGGER=0 \
+    -DCMake_ENABLE_DEBUGGER=1 \
 "
 
 do_install:append:class-nativesdk() {
--

2.34.1

This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#221097): https://lists.openembedded.org/g/openembedded-core/message/221097
Mute This Topic: https://lists.openembedded.org/mt/114443689/3620601
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-