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.
  • From: "Waterlander, Erwin" <erwin.waterlander@xxxxxxxxx>
  • Date: Thu, 22 Sep 2022 08:42:20 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jBxjiPazKrONpQVOODrt6PIX0vLGLGOd/chnGya1NzY=; b=mePMS4pgLRfiF8DLusqzvvR4PLtjc2joYfoIJYWP2nTfSJErV5975aYvOYoNy0+ohmkj2EjCE74v4YSpChfYGs1E0jeRANgaJs59qR4G8Fs3YweqLkGu/K8QNuTfb+bVJGOHBSsKy0DCUuiJPlMm8M0KVsMU9rO42A78wOdQEImtbU2E/d6avU57sofJUQXSSro5L+rwG5H5mQ3baW56I0oZJzybQecgzDZvEAaY8NgSOkIiBVNYqUMIN05Mjlive+8A2AqAKBPHkXNKqfgn2uiFVsec6POJUzKoUgfIRNapfswxH7ephpcwd0PU4b5lw9ziDKRiBmxauUgzYxnuQA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fs1m5T/1nUH4iTPDE2arF38sYedq7VweBxPa+czggWUz9AfWViJUxNvq3Rgt2vSGjS5zwgY6vX+BzI+xPWrEFlQjb5EPLLMB0JEpG3up9szAnTLxi4il18HypX3lfZk58mJKj+baii3vn38NiuwifRbOS/2QgUtqWgN4K48E7GxfXSFAOvX+tlUcAU+RKb3K0YKK402ncZhUiAVdbxso35YwRBMd1DI+/OZu7GrvAlA+U7l/DY4L2UAaMqJN14cyqEYDp562oJkdbVNw3xpEUeSq58RwV2iS4IcLnRK6JynFLCEuu9KXAnvpf3OFCFPy3e0ZnTb6cJp8de3GkxB98g==
  • Delivered-to: cdt-dev@xxxxxxxxxxx
  • Dlp-product: dlpe-windows
  • Dlp-reaction: no-action
  • Dlp-version: 11.6.500.17
  • List-archive: <https://www.eclipse.org/mailman/private/cdt-dev/>
  • List-help: <mailto:cdt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdjNhqEfp/QsKTJySAqOeK9J3F55BAACWKqAADNe8BA=
  • Thread-topic: [cdt-dev] Managing include paths and macros in 'Core Build' projects.

Hi,

And how about 'Core Build' Makefile projects?
How can my plugin add the include paths and macros for our custom compiler?

Currently I'm using 'Managed Build' project in 'unmanaged' mode, with a custom "built-in compiler settings" provider. Syntax is already correct before building.

best regards,

-- 
Erwin


From: cdt-dev <cdt-dev-bounces@xxxxxxxxxxx> On Behalf Of Kondal Kolipaka
Sent: Wednesday, September 21, 2022 09:59
To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Subject: 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 <mailto:erwin.waterlander@xxxxxxxxx> wrote:
Hi,

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.

regards,

-- 
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
mailto:cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev
---------------------------------------------------------------------
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.

Back to the top