[CMake] Best practices when using CMake 2.6 and Eclipse CDT 6.0

Alexander Neundorf a.neundorf-work at gmx.net
Wed Oct 7 15:25:41 EDT 2009


On Wednesday 07 October 2009, Eric Noulard wrote:
> 2009/10/7 Romain CHANU <romainchanu at gmail.com>:
> > Yes I agree with you. It would be nice to hide these CMake generated
> > files (except those that are generated by your CMakeLists.txt and used
> > for compilation purpose, e.g. files generated by external command like
> > CodeSynthesis XSD).
> > One more thing, about the version control integration (SVN) in Eclipse
> > using an out-of-source build (cf .
> > http://www.cmake.org/Wiki/Eclipse_CDT4_Generator_Development), do I still
> > need to create two different projects? One being my source code from my
> > repository and the other one being my "build" directory?
> > Is there any fix regarding this issue in the incoming 2.8 version? Or any
> > existing work-around?
>
> As far as I remember when I did look into the problem,
> the version control integration problem for out-of-source build is an
> **ECLIPSE** problem
> which cannot be solved on the CMake side unless you break the out of
> sorce rule and generate files in the source...
> see
> http://www.cmake.org/Wiki/Eclipse_CDT4_Generator_Development#Discussion_abo
>ut_Eclipse_CDT4_Generator_limitations and reference.

Has anything changed in Eclipse in this regard ?
If not, could somebody try to become active in Eclipse and try to get this 
fixed so that in future Eclipse versions this works ?
Is this an Eclipse or a CDT problem ?

Alex


More information about the CMake mailing list