Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] How to add include paths for CDT CMake projects

Hi Kondal,

This is an active area of discussion. The cmake support in CDT is based on a newer build infrastructure called "core build" and it is still in preview stage so some of it may not work as it should. There is not much GUI provided for CMake, with the intention of users editing the cmake files themselves.

In the meantime you can also consider the cmake4eclipse which is based on the older "mbs" build infrastructure. cmake4eclipse is not part of CDT, but many users have had a good experience with it and the author is quite responsive and active on this list too.

What is your use case for the CMake plug-ins? You have already provided a number of fixes in this area and others and I appreciate your contributions back. 

Jonah Graham
Kichwa Coders

On Wed, 29 Jan 2020 at 02:59, Kondal Kolipaka <kondal.kolipaka@xxxxxxxxx> wrote:
Hello Team,

I couldn't find these options in the project properties for CDT CMake projects.  Below settings are available only for Make projects but not for CMake projects.

Project --> Properties --> C/C++ General -->Preprocessor Include Paths,macros,etc

Project --> Properties --> C/C++ General -->Paths and Symbols.

Could someone help in understanding why these were removed and how to add "include" paths if someone wants to add something?

I'm sure, based on compile_commands.json file CDT indexing might be resolving the headers but somehow this is not working in Windows OS(working fine in macOS). 

Do you guys see any workaround to add include paths and any quick pointers to debug why indexing doesn't resolve headers?

I've verified with the latest version: 2019-12 (4.14.0) Build id: 20191212-1212

Thank you.

cdt-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top