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.

Am Mittwoch, 5. Oktober 2022, 11:18:23 CEST schrieb Waterlander, Erwin:
> > -----Original Message-----
> > From: cdt-dev <cdt-dev-bounces@xxxxxxxxxxx> On Behalf Of Martin Weber
> > Sent: Tuesday, October 04, 2022 20:35
> > To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
> > Subject: Re: [cdt-dev] Managing include paths and macros in 'Core Build'
> > projects.
> > 
> > Am Dienstag, 4. Oktober 2022, 10:20:59 CEST schrieb Waterlander, Erwin:
...
> Hi,
> 
> As far as I see there is no way to use multiple compilers/toolchains in a
> single cmake run. Perhaps with custom commands one can create something,

Looks like cmake is limited to one compiler per language.

> but this is not nice. The only clean way out of here is splitting the
> project into multiple projects per compiler to get a cmake run per
> compiler.
> 
> In a Makefile flow it is easy to run multiple compilers in one make run.
> Unfortunately core build Makefile projects have no extension point (like
> the detectionParticpant for cmake) to detect a custom compiler from the
> build output. Would there be a trick to do it?

Perhaps extension point="org.eclipse.cdt.core.LanguageSettingsProvider"?

/Martin

-- 
Cd wrttn wtht vwls s mch trsr.






Back to the top