[CMake] Eclipse CDT and CMake

Alexander Neundorf a.neundorf-work at gmx.net
Fri Nov 7 13:16:35 EST 2008


On Friday 07 November 2008, Neal Meyer wrote:
> I've tried the existing generator in cmake on the Mac on my existing
> project but it generated a crazy MakeFile project that builds, but is
> really unorganized and doesn't really help any.  I tried using the CMake
> project and discovered that the build directory structure I was using
> appears to be most of my problem.  I had created a directory called build
> under the root of the cmake project then ran cmake with the working
> directory set to the build folder  [cmake .. -G "Eclipse CDT4 - Unix
> Makefiles"] The project in eclipse was mostly unusable because the source
> and the files were all over the place.  Once I ran cmake in the source
> file.  It behaved much better.

Please read that wiki page, it documents all the issues Eclipse has with 
out-of-source builds. If there is something more, please let us know.
http://www.cmake.org/Wiki/Eclipse_CDT4_Generator

Alex


More information about the CMake mailing list