Bug 329510

Summary: launch configurations: support target selection for targets created with CMAKE_DEBUG_POSTFIX
Product: [Applications] kdevelop Reporter: Raimar Sandner <disp.reg.bugs.kde>
Component: Build tools: CMakeAssignee: kdevelop-bugs-null
Status: RESOLVED UNMAINTAINED    
Severity: wishlist CC: aristsakas
Priority: NOR    
Version First Reported In: 4.6.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Raimar Sandner 2014-01-01 22:12:59 UTC
I use set(CMAKE_DEBUG_POSTFIX "_d"), which appends _d to target executable names and libraries in debug mode. When adding a new launch configuration and choosing the executable with the "Project Target" drop-down menu, the debugger complains "It doesn't seem like <target path without _d> is an executable at all". It assumes that the executable is named like the target and therefore fails to find it.

As a workaround one can set the path to the executable explicitly, but it would be nice if the target selection worked.
Comment 1 aristsakas 2026-02-10 11:54:29 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with KDevelop 25.12.2.
Comment 2 aristsakas 2026-02-10 11:54:43 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with KDevelop 25.12.2.
Comment 3 Raimar Sandner 2026-02-10 12:19:24 UTC
Closing, I am not using kdevelop anymore.