I ran into the same issue while looking at how to make a managed build system work though core build. My conclusion was we could enhance core build
to report configurations rather than the project as a whole for cases like this. So the launch bar would show the configurations.
I think I’ve still got the rough code for this somewhere, never contributed it as there wasn’t yet a real use-case for it in core build. I’ll try
to find it.
Regards
William
From: cdt-dev-bounces@xxxxxxxxxxx <cdt-dev-bounces@xxxxxxxxxxx>
On Behalf Of Jonah Graham
Sent: 06 February 2020 19:06
To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Subject: Re: [cdt-dev] Configurations in core.build
Hello fellow CDTers who have been looking at this area. Can anyone answer Fabrizio's questions?
Hi Fabrizio, I don't have immediate answers on these questions. I was hoping someone else may step in - so this is my explicit try at that.
I've looked a bit into supporting more build configurations in core.build.cmake.
I've resumed an old idea of having a file in the project contain this information and providing an editor to show the configuration UI, like in the attached screenshot.
Now I was wondering how to feed the configurations into core.build, but I'm a bit at a loss there.
- core.build looks for the ICBuildConfiguration associated to the active IBuildconfiguration of the project (but there is no UI to select a build configuration)
- CMakeBuildConfigurationProvider creates configurations based on the triple project, buildType, toolchain
So the only foreseen use case for a different configuration would be a different toolchain, but not e.g. different options passed to CMake to support different target configurations.
Is it planned to add configuration selection in core.build UI or was it a design decision to remove it?
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev
Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf, HRB
3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647
|