[CMake] Eclipse generator - scanner-discovered include pathsand pre-processor symbols

Chatterjee, Shash schatterjee at camber.com
Tue Mar 15 09:18:32 EDT 2011


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 :-).

Thanks,
Shash

-----Original Message-----
From: Alexander Neundorf [mailto:a.neundorf-work at gmx.net]


But all you want is to add the line 
<pathentry kind="con" 
path="org.eclipse.cdt.make.core.DISCOVERED_SCANNER_INFO"/>
to the file ?

And even with all the builtin include dirs and macros already in the .cproject 
file, the indexer still needs to find them again itself ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110315/4d252799/attachment.htm>


More information about the CMake mailing list