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

Alexander Neundorf a.neundorf-work at gmx.net
Fri Mar 11 14:10:01 EST 2011


On Friday 11 March 2011, Chatterjee, Shash wrote:
> 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?

Please check with cmake 2.8.3 or 2.8.4.
I think I added this last year, but I'm not quite sure for which release it 
was.

Alex


More information about the CMake mailing list