Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Add a custom toolchain to the Autotools CDT plugin

Hi Melanie,
Which version of the CDT/Autotools plugin do you work with? was fixed in Juno.

Also, you can try using another approach - instead of adding a new toolchain,
contribute an additional page to the project creation wizard and let a
user select the options there.
Then, you can set it programmatically on finish using this API:

Hope that helps!

On Sun, Mar 3, 2013 at 3:40 PM, Mélanie Bats <melanie.bats@xxxxxxx> wrote:
> Hello,
> I am developing an Eclipse plugin[1] which integrate cross-compilation
> toolchains generated with Buildroot[2].
> I already integrate successfully the toolchain to the CDT executable/shared
> libraries/static libraries build artefact types.
> To do this, I contribute a new project type which refers to the
> build
> artefact type (see the attached exe_plugin.xml). As we can see on the
> screenshot [3], in this case I got exactly what I expect, my toolchain is
> contributed to the "Executable" build artefact type. Of course, the provided
> exe_plugin.xml is just a minimal example that allows the toolchain to
> appear, our real code further customizes the toolchain for our needs, but
> this is beyond the scope of this e-mail.
> Now I am trying to integrate my toolchain to the autotools build artefact
> type (because we want for example to set a default value for the --host=
> argument for our toolchain).
> I contribute in the same way my toolchain (see the attached
> autotools_plugin.xml) but this time to the
> org.eclipse.linuxtools.cdt.autotools.core.buildArtefactType.autotools build
> artefact type.
> If we have a look to the second screenshot [4], we can see that my toolchain
> is not contributed under the "GNU Autotools" and a second "GNU Autotools"
> section shows up in the wizard, but this second section is empty.
> Does someone can explain to me how to contribute a cross compiled toolchain
> to the Autotools build artefact type thanks to the managed builder build
> definitions extension point?
> Thanks for your help,
> Mélanie
> [1]
> [2]
> [3]
> [4]
> PS: As I saw that Jeff Johnston was contributing the Autotools plugin to the
> CDT project I add him as cc to this email.
> --
> Mélanie Bats, Obeo
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx

Back to the top