Skip to main content

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

Hi

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">
    <configuration>
      <toolChain id="toolchain.1" name="1st toolchain">
        ...
      </toolChain>
      <toolChain id="toolchain.2" name="2nd toolchain">
        ...
      </toolChain>
      ...
    </configuration>
    ...
  </projectType>

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


Back to the top