diff mbox series

[scarthgap] cmake: Enable debugger support in CMake

Message ID 20250730041354.58332-1-nikhilr5@kpit.com
State Rejected
Delegated to: Steve Sakoman
Headers show
Series [scarthgap] cmake: Enable debugger support in CMake | expand

Commit Message

Nikhil R July 30, 2025, 4:13 a.m. UTC
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.

Signed-off-by: Nikhil R <nikhilr5@kpit.com>
---
 meta/recipes-devtools/cmake/cmake_3.28.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
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.

Comments

Steve Sakoman July 30, 2025, 3:52 p.m. UTC | #1
This change would need to be accepted in the master branch before I
could even consider taking it for stable branches.

Steve

On Tue, Jul 29, 2025 at 9:14 PM Nikhil via lists.openembedded.org
<nikhil.r=kpit.com@lists.openembedded.org> wrote:
>
> 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.
>
> Signed-off-by: Nikhil R <nikhilr5@kpit.com>
> ---
>  meta/recipes-devtools/cmake/cmake_3.28.3.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/cmake/cmake_3.28.3.bb b/meta/recipes-devtools/cmake/cmake_3.28.3.bb
> index 63d483801a..5c3b6247fc 100644
> --- a/meta/recipes-devtools/cmake/cmake_3.28.3.bb
> +++ b/meta/recipes-devtools/cmake/cmake_3.28.3.bb
> @@ -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: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [steve@sakoman.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/recipes-devtools/cmake/cmake_3.28.3.bb b/meta/recipes-devtools/cmake/cmake_3.28.3.bb
index 63d483801a..5c3b6247fc 100644
--- a/meta/recipes-devtools/cmake/cmake_3.28.3.bb
+++ b/meta/recipes-devtools/cmake/cmake_3.28.3.bb
@@ -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() {