[CMake] [PATCH] kdevelop generator: use correct path for executable

Alexander Neundorf a.neundorf-work at gmx.net
Mon Feb 13 17:38:57 EST 2006


Hi, 
 
the attached patch does two things: 
1) Bugfix: it detects the correct path for the created executable via 
GetProperty("LOCATION") instead of simply doing 
${CMAKE_CURRENT_BINARY_DIR}+TARGET_NAME. 
2) Additionally to the kdevelop project file *.kdevelop and the file list 
file *.kdevelop.filelist it now also creates a kdevelop session file 
*.kdevses which lists a single source files. This has the effect that 
when kdevelop opens such a project the first time, it also opens this 
file in the editor instead of showing an empty view. 
 
I tried both in-source and out-of-source builds, I didn't find any 
problems. Wasn't there a problem with out-of-source builds ? 
 
Bye 
Alex 
 
 
 

-- 
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevelopgenerator.diff
Type: text/x-diff
Size: 9456 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20060213/0b42e21d/kdevelopgenerator.bin


More information about the CMake mailing list