target name fragmented in kdevelop 4.4.1
news at familiebecker.com
Tue Feb 19 15:50:49 GMT 2013
I have a problem using target names containing cmake variables. I want all
target names to include the version number. In cmake everything works like
expected, but target names in subfolders are fragmented by kdevelop, which
means I cannot select the target in GUI.
I build two targets. The first one is defined in the top level directory
'project' and the second one is defined in directory 'project/subFolder':
set( VERSION 1.0.0 )
add_subdirectory( subFolder )
Running cmake creates the following executables in the build directory:
build/targettest-1.0.0 and build/subFolder/subfolder_targettest-1.0.0
This just what I want to have. But kdevelop shows the following targets:
/targettest-1.0.0 which is correct and
/subFolder/subfolder_targettest- which misses the version number.
It seems kedevelop ignore the higher level CmakeListFile.txt and therefore
miss their variable definitions.
Do I miss something, or is it a bug? Is there another workaround than browsing
for the executables to start/debug my programs with kdevelop?
Thanks for any ideas,
More information about the KDevelop