Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Managing include paths and macros in 'Core Build' projects.

AFAIK, there is no option to add include paths and macros for core CMake projects. Indexer is designed to get these details from the compiler_commands.json file after the build.

Best Regards,
Kondal Kolipaka

On Wed, Sep 21, 2022 at 12:34 PM Waterlander, Erwin <erwin.waterlander@xxxxxxxxx> wrote:

In 'Managed Build' projects I can add my custom Language Provider to add include paths and macros needed for syntax high lighting and code navigation.

How is this supposed to be done in 'Core Build' projects, Cmake and Make projects?

Typically Core Build projects show no includes in the Project Explorer at start. Not even the gcc includes.
Make projects have only limited options to add include paths and macros. Variables are not supported as far as I see.
In CMake project properties I see no options for include paths and macros at all.


Erwin Waterlander                 Intel
The Netherlands

Intel Benelux B.V.
Registered in The Netherlands under number 24134020
Statutory seat: Rotterdam
Registered address: Capronilaan 37, 1119NG Schiphol-Rijk

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

cdt-dev mailing list
To unsubscribe from this list, visit

Back to the top