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

David Cole david.cole at kitware.com
Fri Mar 11 14:37:21 EST 2011


On Fri, Mar 11, 2011 at 2:10 PM, Alexander Neundorf
<a.neundorf-work at gmx.net> wrote:
> 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
> _______________________________________________
> 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
>

No. There are no ** kind="con" ** pathentry values in the CMake
'master' as of right now... There are kind="inc" kind="src" kind="out"
and kind="mac" ... but no kind="con". Unless it's hiding somewhere
that my grep can't find.


More information about the CMake mailing list