[cmake-developers] [PATCH - KDevelop generator] automatically add matching header files to the project file

Alexander Neundorf neundorf at kde.org
Sun Oct 1 11:34:19 EDT 2006


Hi,

with cmake it is not necessary to add the header files to the targets, adding 
the source files is enough.
But without the header files being part of its projects, the code completion 
of KDevelop doesn't work.
The attached patch improves this.
If a source file is written into the kdevelop filelist file, it looks whether 
there is a matching header file in the same directory and adds this too to 
the filelist file of kdevelop.
It doesn't influence anything else in cmake.

Please apply.

Bye
Alex

P.S. this is also an idea from the akademy kdevelop bof
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmGlobalKdevelopGenerator.cxx.patch
Type: text/x-diff
Size: 1926 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20061001/854a2c1f/attachment.patch>


More information about the cmake-developers mailing list