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

Brad King brad.king at kitware.com
Mon Oct 2 10:50:14 EDT 2006


Alexander Neundorf wrote:
> 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.

/cvsroot/CMake/CMake/Source/cmGlobalKdevelopGenerator.cxx,v  <--
cmGlobalKdevelopGenerator.cxx
new revision: 1.18; previous revision: 1.17

-Brad



More information about the cmake-developers mailing list