[CMake] Cmake with Eclipse
Alexander Neundorf
a.neundorf-work at gmx.net
Thu Jun 21 13:25:15 EDT 2007
Hi,
CMake cvs now makes adding generators for IDEs which work with external
makefiles easier.
There is a new class cmExternalMakefileProjectGenerator, which can be
subclassed and be used to create project files for your prefered IDE. This is
currently done that way with the KDevelop generator (for UNIX). The UNIX
Makefile generator generates all the makefiles as usual, and after that the
KDevelop generator runs and creates the xml project files for kdevelop which
basically set up the directories, targets and source files part of this
project.
Since Eclipse supports also projects with existing makefiles, it should be not
hard to write such an generator for this kind of Eclipse projects. Then you
could simply run cmake -G"Mingw Makefile - Eclipse" and you will get
everything set up for Eclipse.
If you are interested, it would be nice if you could go ahead and try it and
ask if you have questions.
Alex
More information about the CMake
mailing list