[CMake] Eclipse CMake Generator - Pre-Alpha version

Eric Noulard eric.noulard at gmail.com
Tue Jul 31 03:19:18 EDT 2007


2007/7/31, Miguel A. Figueroa-Villanueva <miguelf at ieee.org>:
> Hello Everyone,
>
[...]
>
> So far, I have modified only cmake.cxx to add the extra generator
> handle [this->AddExtraGenerator(...)], the CMakeLists.txt file to add
> the two new files, and the two new files themselves:
>
>   Source/cmExtraEclipseGenerator.cxx
>   Source/cmExtraEclipseGenerator.h

Nice job.
I'm not a CMake developper nevertheless
I volunteer to test your patch if you provide one.

>
> 2. As I mentioned, I'm new to Eclipse so, I don't know how people use
> it. I need volunteers to test the generator and let me know what
> things don't work as expected.

Again I may help.
I may provide you my "hand-made" CDT projects files for
CMake enabled open-source projects
https://savannah.nongnu.org/projects/tsp/  (almost pure ANSI C)
https://savannah.nongnu.org/projects/certi (almost C++)

> Note that this is a simple generator (an extra generator), since it
> relies on the "Unix Makefiles" generator to handle all the difficult
> issues. So, I'm not looking to provide a generator for eclipse that
> will create a managedmakefile project;

>From my point of view your choice is a good one.
I personnally DON'T want to get stuck into eclipse.
I want to be able to build (the same build dir) from
Eclipse or from command line.

>  at least not at this point. I
> am looking to implement the Eclipse generator on top of the MinGW,
> MSYS, and maybe NMake (depending on the Eclipse CDT support for it).

You were talking about "Unix Makefile" before?
I may easilly test Unix Makefile+Eclipse CDT on Linux but may
be more difficult on the Windows Platform.

> Opinion on the CMake plugin discussion:
> ==============================
>
> So far, it seems to me that the discussion has been steering in the
> opposite direction from what I actually thought was more useful and
> what I implemented. That is, a CMake generator rather than an Eclipse
> plugin.

I think this is indeed a good choice CMake IS a GENERATOR.
(see my previous message about Ant, Eclipse and CMake)

> Just some thoughts on the matter...

Good to read those thoughts :))
Good luck for the Eclipse Generator.
I'm no Eclipse expert but do not hesitate to ask questions about
this topic here I will try my best to help you.


-- 
Erk


More information about the CMake mailing list