[CMake] Patch for Eclipse generator

Pau Garcia i Quiles pgquiles at elpauer.org
Thu Oct 18 19:46:16 EDT 2007


Quoting Pau Garcia i Quiles <pgquiles at elpauer.org>:

I forgot to say packages for Ubuntu Feisty and Gutsy for the latest  
CMake CVS with my patch already applied will be available in my PPA in  
a few hours: https://edge.launchpad.net/~pgquiles/+archive

> Hello,
>
> As I told yesterday, here comes a patch for the Eclipse CDT4 generator
> available in the current CVS version of CMake.
>
> Although I have not extensively tested it, the works fine. In addition
> to the in-tree build which has always worked, this patch allows you to
> have 'myapp' and 'myapp/build' or 'myapp' and 'myapp-build' at the
> same level:
>
> mydir/myapp
> mydir/myapp/build
>
> or
>
> mydir/myapp
> mydir/myapp-build
>
> The patch breaks the CMake way of doing thing, as it writes the
> Eclipse project files (.project and .cproject) in the source directory
> even in an out-of-tree build.
>
> Tomorrow I'll try to implement a new property, or look at the value of
> a variable, to make it possible to use the pure-CMake style (.project
> and .cproject in the generated-files directory) or the
> Eclipse-required style (.project and .cproject in the source directory).
>
> Please try it and send your comments to the list or to me.
>
> -- 
> Pau Garcia i Quiles
> http://www.elpauer.org
> (Due to my workload, I may need 10 days to answer)



-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)



More information about the CMake mailing list