https://bugs.kde.org/show_bug.cgi?id=361878
Bug ID: 361878 Summary: CMAKE_EXECUTABLE_SUFFIX and EXECUTABLE_OUTPUT_PATH are ignored Product: kdevelop Version: git master Platform: Other OS: Linux Status: UNCONFIRMED Severity: minor Priority: NOR Component: Build tools: CMake Assignee: kdevelop-bugs-n...@kde.org Reporter: loic.dam...@gmail.com CMAKE_EXECUTABLE_SUFFIX seems to be ignored. If you use CMAKE_EXECUTABLE_SUFFIX, you cannot execute/run the project because KDevelop try to use the target name instead of the executable name. For example, if you have the following in your CMakeLists.txt: set(CMAKE_EXECUTABLE_SUFFIX ".bar") add_executable(foo main.cpp) KDevelop will try to run/debug foo instead of foo.bar Similarly, EXECUTABLE_OUTPUT_PATH is also ignored. There is a simple workaround: manually set the path to the executable via the Executable field in the launch configuration. But there is at least one problem with that: the path is absolute. If you move the project, you have to change the configuration. Reproducible: Always Steps to Reproduce: 1. Use CMAKE_EXECUTABLE_SUFFIX in CMakeLists.txt 2. Add a launch configuration for the target 3. Click on Execute/Debug Actual Results: kdevelop try to run an non existing executable Expected Results: kdevelop runs the correct executable -- You are receiving this mail because: You are watching all bug changes.