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

Alexander Neundorf a.neundorf-work at gmx.net
Sat Oct 3 11:04:50 EDT 2009


On Friday 02 October 2009, Philip Lowman wrote:
> On Fri, Oct 2, 2009 at 7:38 AM, Mike Jackson 
<mike.jackson at bluequartz.net>wrote:
> > I'm confused by the "preprocessor statement highlighting" in Cmake
> > 2.8? What exactly is being highlighted? Is there a new Text Editor or
> > is this something in CMake-Gui.exe?
>
> I'm sorry, that wasn't very clear.  What I meant to say is that CMake 2.8
> has some changes in it (thanks to Miguel & Alex) that improve Eclipse
> recognizing certain system-defined preprocessor statements.  This in turn
> can fix problems where Eclipse "greys out" large blocks of code preventing
> indexing features from working properly.

And you now also get all targets set up in Eclipse, including the targets for 
building object files, preprocessed files and assembled files separately :-)

Alex


More information about the CMake mailing list