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

Hmm, from your first snapshot, you are not creating a GNU Autotools project with your toolchain. Instead, you are creating a Managed Make project (Executable) with your toolchain added.

The Invoke Autotools menu you are referring to will appear when the project nature is AutotoolsV2. The individual commands should be enabled if a single IResource is selected (count=1).

If you look in org.eclipse.cdt.autotools.ui plugin.xml, you can see the menu, command, and handler specifications. You can also try and see if any of the handlers get invoked and if they fail or have their enabled state marked false.

-- Jeff J.

On 03/06/2013 04:12 PM, Mélanie Bats wrote:
Hello Jeff,

Le 04/03/2013 19:22, Jeff Johnston a écrit :
The code in AutotoolsBuildWizard is specificially looking for the
Autotools core toolchain id and skipping if it is not found.  Perhaps,
you can extend the code to work for other toolchain ids such as yours or
at least confirm if adding a check for your id solves the problem.

Thanks for your fast reply!

I changed a little bit the code of the AutotoolsBuildWizard class in
order to be able to see my new Autotools toolchain[1][2]. See the
attached patch for details.

So now I am able to create an Autotools project with my toolchain, but
as you can see on the screenshot[3] I did, I see the "Invoke Autotools"
menu but all the items in this menu are disabled (Invoke aclocal, Invoke
autoconf, etc.)

Do you have an idea, why these menus are not active ?

Thanks for your help,


Back to the top