Bug 329510 - launch configurations: support target selection for targets created with CMAKE_DEBUG_POSTFIX
Summary: launch configurations: support target selection for targets created with CMAK...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: CMake (other bugs)
Version First Reported In: 4.6.0
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-01 22:12 UTC by Raimar Sandner
Modified: 2026-02-10 12:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.