|Re: Eclipse-cdt editor can't find include files [message #1818103 is a reply to message #1818101]
||Fri, 06 December 2019 00:08
Registered: October 2012
I've never used CMake to generate CDT projects|
but the current version of CDT is 9.9.
Version 4.0 may not work.
You can create a CMake project in the current Eclipse
then add to it.
CMake generated a makefile for you so its content is your responsibility.
The best place to add paths for the Indexer is with
Project --> Properties --> C/C++ General --> Preprocessor Include Paths, Macros etc. --> Entries tab --> CDT User Setting Entries
Paths and Symbols is supposed to combine the definitions needed for Managed Build (which doesn't apply to a Makefile project) and definitions needed for the Indexer. You can use it in Preprocessor Include Paths, Macros etc. by enabling the Managed Build Setting Provider.
I don't use it myself but specify everything needed with Preprocessor Include Paths, Macros etc.
Another thing to consider is that the Indexer can take a long time to run.
I have one project that is enormous in terms of resources and the Indexer
seems to forget a lot between Eclipse starts and is constantly rebuilding.
[Updated on: Fri, 06 December 2019 00:41]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.05995 seconds