[Cmake] planning KDevelop support

Bill Hoffman bill.hoffman@kitware.com
Fri, 02 May 2003 10:27:21 -0400


I think you would need to create a new Makefile generator.
How does the autoconf one work?
I assume that KDevelop still uses make to do the work of
building right?   If that is the case, you could sub-class
off the unix makefile generator, and just have it output a few
extra files as well.   

-Bill


At 10:15 AM 5/2/2003, Stefan Schmidt wrote:
>Hello,
>
>I'd like to achieve some integration of CMake in KDevelop.
>
>My question: In what way do I need to modify CMake to give me a list of all 
>source files, say, for a given target, or for the whole project (including 
>subdirs)? 
>
>Is it better to create a new Makefile generator, derived from the Unix one, 
>which additionally outputs such a list, or might it be better to create a new 
>CMake Command (or modify one of the ADD_EXECUTABLE commands) for that?
>
>Some background information:
>In the upcoming Kdevelop 3, there's support for "Parts" that handle project 
>management (there's already one for the autotools and one for qmake). 
>I imagine creating a Part like these which runs (a modified) CMake as the 
>configure step which creates this list. Then this list is used to form the 
>project's file tree view. 
>Additionally, integrating the cache editing GUI in the Part is possible, too.
>
>What do you think about this?
>
>Kind regards,
>Stefan
>_______________________________________________
>Cmake mailing list
>Cmake@public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake