RIF: [CMake] kdevelop problems

Alexander Neundorf a.neundorf-work at gmx.net
Fri Nov 3 03:15:24 EST 2006


-------- Original-Nachricht --------
Datum: Fri,  3 Nov 2006 03:22:50 +0100 (MET)
Von: Luigi Calori <l.calori at cineca.it>
An: cmake at cmake.org
Betreff: Re: RIF: [CMake] kdevelop problems

> Bill Hoffman wrote:
> 
> > Luigi Calori wrote:
> >
> >> I' ve used CVS CMake but it seems not to solve the problem.
> >> In order to check, I' ve modified the layout project so to put c++ 
> >> and header files in a directory under the folder where the main 
> >> CMakeLists.txt resides.
> >> doing that, the Kdevelop projects files get built properly (as much 
> >> as I can tell, being ignorant of Kdevelop)
> >>
> >> So is it possible there is a problem of having sources outside 
> >> CMAKE_SOURCE_DIR
> >
> >
> > No, there should not be a problem.  I suspect the problem is not the 
> > version of CMake, but rather the version of Kdevelop.
> >
> > -Bill
> >
> Which version of kdevelop is supported?
> It seemed to me that the kdevelop.filelist generated from CMake is 
> lacking files, so I blamed CMake for not being able to generate the 
> correct list when source files are outside
> CMAKE_SOURCE_DIR

It's a limitation of KDevelop. All source files must be in a subdirectory of the project directory (which is CMAKE_SOURCE_DIR).
Otherwise kdevelop can't find them. That's why they are left out in the generated kdevelop files by CMake.
You can use it nevertheless, it's just that the quick open etc. won't work.

Alex


-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the CMake mailing list