On Tuesday 15 March 2011, Chatterjee, Shash wrote: > Hi Alex, > > Yes, that is correct, that one pathentry line added to .cproject is all > that is needed from the generator. The scanner simply detects the built-in > symbols and paths and sticks them in the container. Then, the container > contribution has to be added as part of the project paths. Then, the > indexer can find all the include files, and the pre-processor conditions > work correctly. > > Or, at least, that is my understanding :-).
Ok. I tried as it is now and also with the additional line. In both cases I created an Eclipse project for cmake and loaded it in Eclipse. In both cases Eclipse started building the workspace and the indexer was running. In Both cases Eclipse offered autocompletion e.g. for the cmMakefile class, also in both cases a block #ifdef __FLT_MIN__ was highlighted differently than a block #ifdef __FLT_MIN__X__ (which is not a predefined macro). Screenshots are here: http://www.neundorf.net/pics/eclipse-without-patch.jpg http://www.neundorf.net/pics/eclipse-with-patch.jpg Which difference should the added line make ? Alex _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake