CDT extension for two versions of MinGW [message #1829424] |
Fri, 03 July 2020 07:08 |
lu li Messages: 1 Registered: July 2020 |
Junior Member |
|
|
Our eclipse project have MinGW 4.9.2 originally. It works well. We plan to add MinGW 9..0 into our project. I modified the extension point "org.eclipse.cdt.managedbuilder.core.buildDefinitions", but it will cuase error.
The detailed extension project type is as follows:
<projectType
buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe"
id="cofluent.managedbuild.target.gnu.mingw.exe"
isAbstract="false"
isTest="false"
name="CoFluent MinGW Executable">
<configuration
buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release"
id="cofluent.managedbuild.config.gnu.mingw920.exe.release"
name="CoFluent MinGW920 Release Configuration"
parent="cdt.managedbuild.config.gnu.mingw.base">
<toolChain
configurationEnvironmentSupplier="com.cofluent.studio.scl.accellera.mingw.Mingw920ConfigurationVariableSupplier"
id="cofluent.managedbuild.toolchain.gnu.mingw920.exe.release"
isToolChainSupported="com.cofluent.studio.scl.accellera.mingw.Mingw920IsToolChainSupported"
name="CoFluent MinGW920 Release Tool-Chain"
languageSettingsProviders="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetectorMinGW"
superClass="cdt.managedbuild.toolchain.gnu.mingw.exe.release">
<builder
buildRunner="com.cofluent.studio.scl.accellera.mingw.MingwBuildRunner"
buildfileGenerator="com.cofluent.studio.scl.core.compilers.MakefileGenerator"
errorParsers="com.cofluent.studio.mingw.errorparser"
id="com.cofluent.studio.internal.generators.builder.exe"
isAbstract="false"
isVariableCaseSensitive="false"
name="CoFluent MinGW Makefile Generator"
parallelBuildOn="false"
superClass="cdt.managedbuild.tool.gnu.builder.mingw.base">
</builder>
</toolChain>
</configuration>
<configuration
buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release"
id="cofluent.managedbuild.config.gnu.mingw492.exe.release"
name="CoFluent MinGW492 Release Configuration"
parent="cdt.managedbuild.config.gnu.mingw.base">
<toolChain
configurationEnvironmentSupplier="com.cofluent.studio.scl.accellera.mingw.Mingw492ConfigurationVariableSupplier"
id="cofluent.managedbuild.toolchain.gnu.mingw492.exe.release"
isToolChainSupported="com.cofluent.studio.scl.accellera.mingw.Mingw492IsToolChainSupported"
name="CoFluent MinGW492 Release Tool-Chain"
languageSettingsProviders="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetectorMinGW"
superClass="cdt.managedbuild.toolchain.gnu.mingw.exe.release">
<builder
buildRunner="com.cofluent.studio.scl.accellera.mingw.MingwBuildRunner"
buildfileGenerator="com.cofluent.studio.scl.core.compilers.MakefileGenerator"
errorParsers="com.cofluent.studio.mingw.errorparser"
id="com.cofluent.studio.internal.generators.builder.exe"
isAbstract="false"
isVariableCaseSensitive="false"
name="CoFluent MinGW Makefile Generator"
parallelBuildOn="false"
superClass="cdt.managedbuild.tool.gnu.builder.mingw.base">
</builder>
</toolChain>
</configuration>
<configuration
buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug"
cleanCommand=""
id="cofluent.managedbuild.config.gnu.mingw920.exe.debug"
name="CoFluent MinGW920 Debug Configuration"
parent="cdt.managedbuild.config.gnu.mingw.base">
<toolChain
configurationEnvironmentSupplier="com.cofluent.studio.scl.accellera.mingw.Mingw920ConfigurationVariableSupplier"
id="cofluent.managedbuild.toolchain.gnu.mingw920.exe.debug"
isToolChainSupported="com.cofluent.studio.scl.accellera.mingw.Mingw920IsToolChainSupported"
name="CoFluent MinGW920 Debug Tool-Chain"
superClass="cdt.managedbuild.toolchain.gnu.mingw.exe.debug">
<builder
buildRunner="com.cofluent.studio.scl.accellera.mingw.MingwBuildRunner"
buildfileGenerator="com.cofluent.studio.scl.core.compilers.MakefileGenerator"
errorParsers="com.cofluent.studio.mingw.errorparser"
id="com.cofluent.studio.internal.generators.builder.debug.exe"
isAbstract="false"
isVariableCaseSensitive="false"
name="CoFluent MinGW Makefile Generator"
superClass="cdt.managedbuild.tool.gnu.builder.mingw.base">
</builder>
</toolChain>
</configuration>
<configuration
buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug"
cleanCommand=""
id="cofluent.managedbuild.config.gnu.mingw492.exe.debug"
name="CoFluent MinGW492 Debug Configuration"
parent="cdt.managedbuild.config.gnu.mingw.base">
<toolChain
configurationEnvironmentSupplier="com.cofluent.studio.scl.accellera.mingw.Mingw492ConfigurationVariableSupplier"
id="cofluent.managedbuild.toolchain.gnu.mingw492.exe.debug"
isToolChainSupported="com.cofluent.studio.scl.accellera.mingw.Mingw492IsToolChainSupported"
name="CoFluent MinGW492 Debug Tool-Chain"
superClass="cdt.managedbuild.toolchain.gnu.mingw.exe.debug">
<builder
buildRunner="com.cofluent.studio.scl.accellera.mingw.MingwBuildRunner"
buildfileGenerator="com.cofluent.studio.scl.core.compilers.MakefileGenerator"
errorParsers="com.cofluent.studio.mingw.errorparser"
id="com.cofluent.studio.internal.generators.builder.debug.exe"
isAbstract="false"
isVariableCaseSensitive="false"
name="CoFluent MinGW Makefile Generator"
superClass="cdt.managedbuild.tool.gnu.builder.mingw.base">
</builder>
</toolChain>
</configuration>
</projectType>
Is there any error?
|
|
|
Powered by
FUDForum. Page generated in 0.03692 seconds