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

Am Mi., 29. Jan. 2020 um 08:59 Uhr schrieb Kondal Kolipaka
<kondal.kolipaka@xxxxxxxxx>:
>
> 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?

CDT core build *always* parses the compile_commands.json file, which
has all information in it. So there should be no need for users to to
manually configure the providers nay longer.
Unfortunately, the parser for that file is currently somehow limited.
See bug [559674]

[559674] https://bugs.eclipse.org/bugs/show_bug.cgi?id=559674

Martin


Back to the top