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

Chatterjee, Shash schatterjee at camber.com
Fri Mar 11 13:05:01 EST 2011


Hi,

Using CDT-2.8.2 on Fedora Core 14, and Eclipse Indigo/CDT (20101216-1529).

Most everything works fine in the .project/.cproject, except the CDT indexer cannot find the compiler's built-in include paths/files and pre-processor symbols.  To fix that, all that has to be done is to go into the project Properties->C/C++ Project Paths->Path Containers->Add->Discovered scanner configuration container.

All that does is add the following under the "<storageModule moduleId="org.eclipse.cdt.core.pathentry"> element in .cproject:
<pathentry kind="con" path="org.eclipse.cdt.make.core.DISCOVERED_SCANNER_INFO"/>

Can this be added to the Eclipse generator?

Thanks,
Shash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110311/646f0781/attachment.htm>


More information about the CMake mailing list