Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Multiple toolchains

Hi John,

The "configuration" element can contain only one "toolChain" element.
You should define separate configurations for each of your tool-chains.
An alternative way to define a "general" project-type entry containing
multiple tool-chains is using the BuildProperties mechanism.

See the "What's new in the CDT Build System 4.0" document available in
the CDT documentation.


-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of John Dallaway
Sent: Friday, August 31, 2007 3:41 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Multiple toolchains


I have a plug-in for CDT 4.0.0 which extends
org.eclipse.cdt.managedbuilder.core.buildDefinitions to provide a new
project type and a number of new toolchains. The layout of the CDT "new
project" wizard suggests that I should be able to define multiple
toolchains which are compatible with my new project type and allow the
user to select which of these toolchains to use within a specific
project. I have attempted to do this using something like:

  <projectType name="My project type">
      <toolChain id="toolchain.1" name="1st toolchain">
      <toolChain id="toolchain.2" name="2nd toolchain">

When I do this, only the most recently declared toolchain ("2nd
toolchain") is presented in the wizard when I select the new project
type. If I swap the order of the toolchain declarations, I see only "1st
toolchain" in the wizard. Is this a bug, or have I missed something?

John Dallaway
cdt-dev mailing list

Back to the top