[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] Re: [cdt-patch] Initial Managed Build System patch for CDT 2.1
|
Hey Leo,
I was actually able to add two new configurations in the plugin.xml,
WindowsDebug and WindowsRelease, to the Gnu targets to reflect the
appropriate file extensions for these platforms (i.e. exe, dll) and it
appears to work! Cool.
Probably the better approach would be to allow these settings to be set in
the UI somewhere, e.g. specify that the linker produces an exe in one
config but no extension in another.
Here's the patch if anyone wants to try it out. I have no plans to commit
it unless there is popular demand since you'll see these new configs even
if you are not working on Windows.
Doug Schaefer, IBM's Technical Lead, Eclipse CDT
Ottawa Lab, IBM Canada, Rational Software Division
"Treggiari, Leo" <leo.treggiari@xxxxxxxxx>
Sent by: cdt-dev-admin@xxxxxxxxxxx
10/26/2004 01:16 PM
Please respond to
cdt-dev
To
<cdt-dev@xxxxxxxxxxx>
cc
Subject
RE: [cdt-dev] Re: [cdt-patch] Initial Managed Build System patch for CDT
2.1
Hi Doug,
Thanks for giving the new code a "workout"!
> One regression I noticed, though, is that
> the MBS no longer detects the built-in include paths.
That's a bug (mine). Sean is working on a fix (Thanks!).
> Also, another thing I haven't seen yet is the ability to add targets
to a
> project. I am trying to build a shared library project that uses gcc
and
> builds for both Windows and Linux with a couple of files built for one
> target or the other (thanks to the per config exclude from build :-).
> Right now those show up as different targets. This could be addressed
if
> we have removed the road blocks to having these represented by the
same
> target but different configs, or by allowing us to have multi-target
> projects. Any thoughts on how we can accomplish this?
The new "model" is meant to support this. I think the easiest approach
would be to "refactor" the GNU tool-chain definitions into 3 project
types (exe, shared library, static library) with Debug and Release
default configurations defined for each platform. The rest of the
support may already "just work", but it will take some testing to find
out... Would anyone like to try that experiment? I'm not sure that I
will have time...
The long term proposal would allow you to create a new configuration in
a Windows shared library project, and set it to use the Linux tool
chain. But, that's not going to be done for 2.1.
Regards,
Leo
-----Original Message-----
From: cdt-dev-admin@xxxxxxxxxxx [mailto:cdt-dev-admin@xxxxxxxxxxx] On
Behalf Of Douglas Schaefer
Sent: Monday, October 25, 2004 11:57 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Re: [cdt-patch] Initial Managed Build System patch
for CDT 2.1
Hey Leo, this is a great start! One regression I noticed, though, is
that
the MBS no longer detects the built-in include paths. This essentially
blows up content assist and other parser based features. Do I have
something set up wrong or is this still to come?
Also, another thing I haven't seen yet is the ability to add targets to
a
project. I am trying to build a shared library project that uses gcc and
builds for both Windows and Linux with a couple of files built for one
target or the other (thanks to the per config exclude from build :-).
Right now those show up as different targets. This could be addressed if
we have removed the road blocks to having these represented by the same
target but different configs, or by allowing us to have multi-target
projects. Any thoughts on how we can accomplish this?
Thanks,
Doug Schaefer, IBM's Technical Lead, Eclipse CDT
Ottawa Lab, IBM Canada, Rational Software Division
"Treggiari, Leo" <leo.treggiari@xxxxxxxxx>
Sent by: cdt-patch-admin@xxxxxxxxxxx
10/25/2004 01:55 PM
Please respond to
cdt-patch
To
<cdt-patch@xxxxxxxxxxx>
cc
Subject
[cdt-patch] Initial Managed Build System patch for CDT 2.1
This patch contains the initial drop for the Managed Build System (MBS)
work
for CDT 2.1. There are 3 patches attached - one for each of the core,
core.tests, and ui MBS packages. Below is a listing of the new,
removed,
and
modified source files for each package.
New Functionality:
New model for manifest file and .cdtbuild file:
o Old model manifest files continue to be supported.
o The new model should be used in the future since not all new
functionality will be available from the old model. In general,
no
significant effort will be expended in making new functionality
work
with the old model manifest files. However, in some cases, new
functionality will automatically work with old model manifest
files.
The new functionality in this patch appears to work with old model
manifest files. The GNU tool-chain definition has been updated to
use
the new model.
o Old model project (.cdtbuild) files are converted upon approval
by end-user. Converted project files will no longer work with CDT
2.0.
Support for file-specific tool command line options:
o A specific file in a configuration can use different tool options
than the rest of the files in the configuration.
o A specific file can be excluded from the build of a configuration.
New attributes that add flexibility to tool command line generation:
o Tool.commandLinePattern: Specifies a command "pattern" that
indicates
how the parts of the command line are used to create the entire
command
line. The pattern consists of the replaceable variables COMMAND,
FLAGS,
OUTPUT_FLAG, OUTPUT_PREFIX, OUTPUT and INPUTS. The default
command
line
pattern is
${COMMAND} ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT}
${INPUTS}
White space and other characters are significant and are copied to
the
generated command.
o Tool.commandLineGenerator: The name of a class that implements
IManagedCommandLineGenerator (to be defined in the ISV document).
o Option.command: The command provides a "pattern" for specifying
where
the value should be placed for options of type string and
stringlist.
The pattern can contain the replaceable variable VALUE. If no
${VALUE}
is specified in the command, the option value is appended to the
end
of
the specified command (as happens in CDT 2.0).
Modified UI:
o Error parsers are no longer selectable in the project creation
wizard.
This is because error parsers are set per-configuration, and
per-configuation changes are made via the property page.
o C/C++ Build page of MBS project properties now contains all of the
per-configuration settings for the project. There are 4 tabs for
Tool Settings, Build Settings, Error Parsers, and Binary Parsers.
Note that binary parsers are not yet applied per configuration
because
the rest of CDT is not currently set up to handle it.
o File properties now contains a C/C++ Build page where the tool
options
for a particular file can be set.
To Do:
o There remain a few functionality problems that need to be worked
on,
but
I am not aware of any regressions from the CDT 2.0 MBS
functionality.
o End-user documentation needs to be contributed.
o ISV documentation needs to be contributed.
o Additional JUnit tests for the new model.
org.eclipse.cdt.managedbuilder.core
New Source Files:
schema
buildDefinitions.exsd
org.eclipse.cdt.managedbuilder.core
IBuilder.java
IConfigurationV2.java
IManagedCommandLineGenerator.java
IManagedCommandLineInfo.java
IManagedProject.java
IProjectType.java
IResourceConfiguration.java
ITargetPlatform.java
IToolChain.java
org.eclipse.cdt.managedbuilder.internal.core
Builder.java
ConfigurationV2.java
ManagedCommandLineGenerator.java
ManagedCommandLineInfo.java
ManagedProject.java
ProjectType.java
ResourceConfiguration.java
TargetPlatform.java
ToolChain.java
org.eclipse.cdt.managedbuilder.projectconverter
ConverterMessages.java
PluginResources.properties
UpdateManagedProject12.java
UpdateManagedProject20.java
UpdateManagedProjectManager.java
Modified Source Files:
plugin.xml
Schema
ManagedBuildTools.exsd
org.eclipse.cdt.managedbuilder.core
IConfiguration.java
IManagedBuildInfo.java
IOption.java
IOptionCategory.java
ITarget.java
ITool.java
IToolReference.java
ManagedBuilderCorePlugin.java
ManagedBuildManager.java
org.eclipse.cdt.managedbuilder.internal.core
Configuration.java
GeneratedMakefileBuilder.java
ManagedBuildInfo.java
Option.java
OptionCategory.java
OptionReference.java
Target.java
Tool.java
ToolReference.java
org.eclipse.cdt.managedbuilder.internal.scannerconfig
ManagedBuildCPathEntryContainer.java
org.eclipse.cdt.managedbuilder.makegen.gnu
GnuMakefileGenerator.java
org.eclipse.cdt.managedbuilder.core.tests
New Source Files:
tests/org.eclipse.cdt.managedbuild.core.tests
ManagedCommandLineGeneratorTest.java
ManagedProjectUpdateTests.java
Resources/oldTypeProjects/1.2/test12.zip
Resources/oldTypeProjects/2.0/test20.zip
Suite/org/eclipse/managedbuilder/testplugin/CTestPlugin.java
Suite/org/eclipse/managedbuilder/testplugin/ManagedBuildTestHelper.java
Modified Source Files:
tests/org.eclipse.cdt.managedbuild.core.tests
build.properties
plugin.xml
ManagedBuildCoreTests.java
TestManagedConfigProvider.java
org.eclipse.cdt.managedbuilder.ui
New Source Files:
org.eclipse.cdt.managedbuilder.internal.ui
BuildSettingsBlock.java
ManagedBuildOptionBlock.java
ToolsSettingsBlock.java
org.eclipse.cdt.managedbuilder.ui.properties
ResourceBuildPropertyPage.java
Removed Source Files:
org.eclipse.cdt.managedbuilder.internal.ui
ManagedMakeStartup.java
org.eclipse.cdt.managedbuilder.ui.actions
UpdateManagedProjectAction.java
org.eclipse.cdt.managedbuilder.ui.properties
ManagedBuilderPropertyPage.java
Modified Source Files:
org.eclipse.cdt.managedbuilder.ui
plugin.properties
plugin.xml
org.eclipse.cdt.managedbuilder.internal.ui
ErrorParserBlock.java
ManagedProjectOptionBlock.java
PluginResources.properties
org.eclipse.cdt.managedbuilder.ui.properties
BuildOptionComboFieldEditor.java
BuildOptionSettingsPage.java
BuildPropertyPage.java
BuildSettingsPage.java
BuildToolsSettingsPage.java
BuildToolsSettingsStore.java
ManageConfigDialog.java
NewConfigurationDialog.java
ToolListContentProvider.java
ToolListLabelProvider.java
org.eclipse.cdt.managedbuilder.ui.wizards
ConfigurationContentProvider.java
CProjectPlatformPage.java
NewManagedProjectOptionPage.java
NewManagedProjectWizard.java
#### ui_patch.txt has been removed from this note on October 25, 2004 by
Douglas Schaefer
#### core_patch.txt has been removed from this note on October 25, 2004
by
Douglas Schaefer
#### tests_patch.txt has been removed from this note on October 25, 2004
by Douglas Schaefer
qzurzz
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev
Index: plugin.properties
===================================================================
RCS file: /home/tools/org.eclipse.cdt-build/org.eclipse.cdt.managedbuilder.ui/plugin.properties,v
retrieving revision 1.21
diff -u -r1.21 plugin.properties
--- plugin.properties 28 Oct 2004 17:16:34 -0000 1.21
+++ plugin.properties 28 Oct 2004 21:15:41 -0000
@@ -52,6 +52,8 @@
# Default Configuration Names
ConfigName.Rel=Release
ConfigName.Dbg=Debug
+ConfigName.Windows.Rel=WindowsRelease
+ConfigName.Windows.Dbg=WindowsDebug
# Generic tool names
ToolName.preprocessor = Preprocessor
Index: plugin.xml
===================================================================
RCS file: /home/tools/org.eclipse.cdt-build/org.eclipse.cdt.managedbuilder.ui/plugin.xml,v
retrieving revision 1.42
diff -u -r1.42 plugin.xml
--- plugin.xml 28 Oct 2004 17:16:34 -0000 1.42
+++ plugin.xml 28 Oct 2004 21:15:43 -0000
@@ -1312,6 +1312,144 @@
</tool>
</toolChain>
</configuration>
+ <configuration
+ artifactExtension="exe"
+ errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser"
+ name="%ConfigName.Windows.Dbg"
+ id="cdt.managedbuild.config.gnu.exe.windows.debug"
+ cleanCommand="rm -rf">
+ <toolChain
+ id="cdt.managedbuild.toolchain.gnu.exe.windows.debug"
+ name="%ToolChainName.Dbg"
+ scannerInfoCollector="org.eclipse.cdt.managedbuilder.internal.scannerconfig.DefaultGCCScannerInfoCollector"
+ osList="win32"
+ archList="all">
+ <targetPlatform
+ id="cdt.managedbuild.target.gnu.platform.exe.windows.debug"
+ name="%PlatformName.Dbg"
+ binaryParser="org.eclipse.cdt.core.PE"
+ osList="win32"
+ archList="all">
+ </targetPlatform>
+ <builder
+ id="cdt.managedbuild.target.gnu.builder.exe.windows.debug"
+ name="%BuilderName.Dbg"
+ command="make"
+ arguments="-k"
+ buildfileGenerator="org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator">
+ </builder>
+ <tool
+ id="cdt.managedbuild.tool.gnu.c.compiler.exe.windows.debug"
+ superClass="cdt.managedbuild.tool.gnu.c.compiler">
+ <option
+ id="mp.gnu.c.compiler.exe.windows.debug.option.optimization.level"
+ defaultValue="gnu.c.optimization.level.none"
+ superClass="gnu.c.compiler.option.optimization.level">
+ </option>
+ <option
+ id="mp.gnu.c.compiler.exe.windows.debug.option.debugging.level"
+ defaultValue="gnu.c.debugging.level.max"
+ superClass="gnu.c.compiler.option.debugging.level">
+ </option>
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.windows.debug"
+ superClass="cdt.managedbuild.tool.gnu.cpp.compiler">
+ <option
+ id="mp.gnu.cpp.compiler.exe.windows.debug.option.optimization.level"
+ defaultValue="gnu.cpp.compiler.optimization.level.none"
+ superClass="gnu.cpp.compiler.option.optimization.level">
+ </option>
+ <option
+ id="mp.gnu.cpp.compiler.exe.windows.debug.option.debugging.level"
+ defaultValue="gnu.cpp.compiler.debugging.level.max"
+ superClass="gnu.cpp.compiler.option.debugging.level">
+ </option>
+ </tool>
+ <tool
+ outputs="exe"
+ id="cdt.managedbuild.tool.gnu.c.linker.exe.windows.debug"
+ superClass="cdt.managedbuild.tool.gnu.c.linker">
+ </tool>
+ <tool
+ outputs="exe"
+ id="cdt.managedbuild.tool.gnu.cpp.linker.exe.windows.debug"
+ superClass="cdt.managedbuild.tool.gnu.cpp.linker">
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.assembler.exe.windows.debug"
+ superClass="cdt.managedbuild.tool.gnu.assembler">
+ </tool>
+ </toolChain>
+ </configuration>
+ <configuration
+ artifactExtension="exe"
+ errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser"
+ name="%ConfigName.Windows.Rel"
+ id="cdt.managedbuild.config.gnu.exe.windows.release"
+ cleanCommand="rm -rf">
+ <toolChain
+ id="cdt.managedbuild.toolchain.gnu.exe.windows.release"
+ name="%ToolChainName.Rel"
+ scannerInfoCollector="org.eclipse.cdt.managedbuilder.internal.scannerconfig.DefaultGCCScannerInfoCollector"
+ osList="win32"
+ archList="all">
+ <targetPlatform
+ id="cdt.managedbuild.target.gnu.platform.exe.windows.release"
+ name="%PlatformName.Rel"
+ binaryParser="org.eclipse.cdt.core.PE"
+ osList="win32"
+ archList="all">
+ </targetPlatform>
+ <builder
+ id="cdt.managedbuild.target.gnu.builder.exe.windows.release"
+ name="%BuilderName.Rel"
+ command="make"
+ arguments="-k"
+ buildfileGenerator="org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator">
+ </builder>
+ <tool
+ id="cdt.managedbuild.tool.gnu.c.compiler.exe.windows.release"
+ superClass="cdt.managedbuild.tool.gnu.c.compiler">
+ <option
+ id="mp.gnu.c.compiler.exe.windows.release.option.optimization.level"
+ defaultValue="gnu.c.optimization.level.most"
+ superClass="gnu.c.compiler.option.optimization.level">
+ </option>
+ <option
+ id="mp.gnu.c.compiler.exe.windows.release.option.debugging.level"
+ defaultValue="gnu.c.debugging.level.none"
+ superClass="gnu.c.compiler.option.debugging.level">
+ </option>
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.windows.release"
+ superClass="cdt.managedbuild.tool.gnu.cpp.compiler">
+ <option
+ id="gnu.cpp.compiler.exe.release.option.optimization.level"
+ defaultValue="gnu.cpp.compiler.optimization.level.most"
+ superClass="gnu.cpp.compiler.option.optimization.level">
+ </option>
+ <option
+ id="gnu.cpp.compiler.exe.release.option.debugging.level"
+ defaultValue="gnu.cpp.compiler.debugging.level.none"
+ superClass="gnu.cpp.compiler.option.debugging.level">
+ </option>
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.c.linker.exe.windows.release"
+ superClass="cdt.managedbuild.tool.gnu.c.linker">
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.cpp.linker.exe.windows.release"
+ superClass="cdt.managedbuild.tool.gnu.cpp.linker">
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.assembler.exe.windows.release"
+ superClass="cdt.managedbuild.tool.gnu.assembler">
+ </tool>
+ </toolChain>
+ </configuration>
</projectType>
<projectType
@@ -1483,6 +1621,166 @@
</tool>
</toolChain>
</configuration>
+ <configuration
+ name="WindowsDebug"
+ cleanCommand="rm -rf"
+ artifactExtension="dll"
+ errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser"
+ id="cdt.managedbuild.config.gnu.so.windows.debug">
+ <toolChain
+ id="cdt.managedbuild.toolchain.gnu.so.windows.debug"
+ name="%ToolChainName.Dbg"
+ scannerInfoCollector="org.eclipse.cdt.managedbuilder.internal.scannerconfig.DefaultGCCScannerInfoCollector"
+ osList="win32"
+ archList="all">
+ <targetPlatform
+ id="cdt.managedbuild.target.gnu.platform.so.windows.debug"
+ name="%PlatformName.Dbg"
+ binaryParser="org.eclipse.cdt.core.PE"
+ osList="win32"
+ archList="all">
+ </targetPlatform>
+ <builder
+ id="cdt.managedbuild.target.gnu.builder.so.windows.debug"
+ name="%BuilderName.Dbg"
+ command="make"
+ arguments="-k"
+ buildfileGenerator="org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator">
+ </builder>
+ <tool
+ id="cdt.managedbuild.tool.gnu.c.compiler.so.windows.debug"
+ superClass="cdt.managedbuild.tool.gnu.c.compiler">
+ <option
+ id="mp.gnu.c.compiler.so.windows.debug.option.optimization.level"
+ defaultValue="gnu.c.optimization.level.none"
+ superClass="gnu.c.compiler.option.optimization.level">
+ </option>
+ <option
+ id="mp.gnu.c.compiler.so.windows.debug.option.debugging.level"
+ defaultValue="gnu.c.debugging.level.max"
+ superClass="gnu.c.compiler.option.debugging.level">
+ </option>
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.cpp.compiler.so.windows.debug"
+ superClass="cdt.managedbuild.tool.gnu.cpp.compiler">
+ <option
+ id="mp.gnu.cpp.compiler.so.windows.debug.option.optimization.level"
+ defaultValue="gnu.cpp.compiler.optimization.level.none"
+ superClass="gnu.cpp.compiler.option.optimization.level">
+ </option>
+ <option
+ id="mp.gnu.cpp.compiler.so.windows.debug.option.debugging.level"
+ defaultValue="gnu.cpp.compiler.debugging.level.max"
+ superClass="gnu.cpp.compiler.option.debugging.level">
+ </option>
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.c.linker.so.windows.debug"
+ outputs="dll"
+ superClass="cdt.managedbuild.tool.gnu.c.linker">
+ <option
+ id="mp.gnu.c.link.so.windows.debug.option.shared"
+ defaultValue="true"
+ superClass="gnu.c.link.option.shared">
+ </option>
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.cpp.linker.so.windows.debug"
+ outputs="dll"
+ superClass="cdt.managedbuild.tool.gnu.cpp.linker">
+ <option
+ id="gnu.cpp.link.so.windows.debug.option.shared"
+ defaultValue="true"
+ superClass="gnu.cpp.link.option.shared">
+ </option>
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.assembler.so.windows.debug"
+ superClass="cdt.managedbuild.tool.gnu.assembler">
+ </tool>
+ </toolChain>
+ </configuration>
+ <configuration
+ name="WindowsRelease"
+ cleanCommand="rm -rf"
+ artifactExtension="dll"
+ errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser"
+ id="cdt.managedbuild.config.gnu.so.windows.release">
+ <toolChain
+ id="cdt.managedbuild.toolchain.gnu.so.windows.release"
+ name="%ToolChainName.Rel"
+ scannerInfoCollector="org.eclipse.cdt.managedbuilder.internal.scannerconfig.DefaultGCCScannerInfoCollector"
+ osList="win32"
+ archList="all">
+ <targetPlatform
+ id="cdt.managedbuild.target.gnu.platform.so.windows.release"
+ name="%PlatformName.Rel"
+ binaryParser="org.eclipse.cdt.core.PE"
+ osList="win32"
+ archList="all">
+ </targetPlatform>
+ <builder
+ id="cdt.managedbuild.target.gnu.builder.so.windows.release"
+ name="%BuilderName.Rel"
+ command="make"
+ arguments="-k"
+ buildfileGenerator="org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator">
+ </builder>
+ <tool
+ id="cdt.managedbuild.tool.gnu.c.compiler.so.windows.release"
+ superClass="cdt.managedbuild.tool.gnu.c.compiler">
+ <option
+ id="gnu.c.compiler.so.windows.release.option.optimization.level"
+ defaultValue="gnu.c.optimization.level.most"
+ superClass="gnu.c.compiler.option.optimization.level">
+ </option>
+ <option
+ id="gnu.c.compiler.so.windows.release.option.debugging.level"
+ defaultValue="gnu.c.debugging.level.none"
+ superClass="gnu.c.compiler.option.debugging.level">
+ </option>
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.cpp.compiler.so.windows.release"
+ superClass="cdt.managedbuild.tool.gnu.cpp.compiler">
+ <option
+ id="gnu.cpp.compiler.so.windows.release.option.optimization.level"
+ defaultValue="gnu.cpp.compiler.optimization.level.most"
+ superClass="gnu.cpp.compiler.option.optimization.level">
+ </option>
+ <option
+ id="gnu.cpp.compiler.so.windows.release.option.debugging.level"
+ defaultValue="gnu.cpp.compiler.debugging.level.none"
+ superClass="gnu.cpp.compiler.option.debugging.level">
+ </option>
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.c.linker.so.windows.release"
+ outputs="dll"
+ superClass="cdt.managedbuild.tool.gnu.c.linker">
+ <option
+ id="gnu.c.link.so.windows.release.option.shared"
+ defaultValue="true"
+ superClass="gnu.c.link.option.shared">
+ </option>
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.cpp.linker.so.windows.release"
+ outputs="dll"
+ superClass="cdt.managedbuild.tool.gnu.cpp.linker">
+ <option
+ id="gnu.cpp.link.so.windows.release.option.shared"
+ defaultValue="true"
+ superClass="gnu.cpp.link.option.shared">
+ </option>
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.assembler.so.windows.release"
+ superClass="cdt.managedbuild.tool.gnu.assembler">
+ </tool>
+ </toolChain>
+ </configuration>
</projectType>
<projectType
@@ -1622,8 +1920,140 @@
</tool>
</toolChain>
</configuration>
+ <configuration
+ name="WindowsDebug"
+ artifactExtension="a"
+ cleanCommand="rm -rf"
+ errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser"
+ id="cdt.managedbuild.config.gnu.lib.windows.debug">
+ <toolChain
+ id="cdt.managedbuild.toolchain.gnu.lib.windows.debug"
+ name="%ToolChainName.Dbg"
+ scannerInfoCollector="org.eclipse.cdt.managedbuilder.internal.scannerconfig.DefaultGCCScannerInfoCollector"
+ osList="win32"
+ archList="all">
+ <targetPlatform
+ id="cdt.managedbuild.target.gnu.platform.lib.windows.debug"
+ name="%PlatformName.Dbg"
+ binaryParser="org.eclipse.cdt.core.PE"
+ osList="win32"
+ archList="all">
+ </targetPlatform>
+ <builder
+ id="cdt.managedbuild.target.gnu.builder.lib.windows.debug"
+ name="%BuilderName.Dbg"
+ command="make"
+ arguments="-k"
+ buildfileGenerator="org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator">
+ </builder>
+ <tool
+ id="cdt.managedbuild.tool.gnu.c.compiler.lib.windows.debug"
+ superClass="cdt.managedbuild.tool.gnu.c.compiler">
+ <option
+ id="gnu.c.compiler.lib.windows.debug.option.optimization.level"
+ defaultValue="gnu.c.optimization.level.none"
+ superClass="gnu.c.compiler.option.optimization.level">
+ </option>
+ <option
+ id="gnu.c.compiler.lib.windows.debug.option.debugging.level"
+ defaultValue="gnu.c.debugging.level.max"
+ superClass="gnu.c.compiler.option.debugging.level">
+ </option>
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.cpp.compiler.lib.debug"
+ superClass="cdt.managedbuild.tool.gnu.cpp.compiler">
+ <option
+ id="gnu.cpp.compiler.lib.windows.debug.option.optimization.level"
+ defaultValue="gnu.cpp.compiler.optimization.level.none"
+ superClass="gnu.cpp.compiler.option.optimization.level">
+ </option>
+ <option
+ id="gnu.cpp.compiler.lib.windows.debug.option.debugging.level"
+ defaultValue="gnu.cpp.compiler.debugging.level.max"
+ superClass="gnu.cpp.compiler.option.debugging.level">
+ </option>
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.archiver.lib.windows.debug"
+ outputs="a"
+ outputPrefix="lib"
+ superClass="cdt.managedbuild.tool.gnu.archiver">
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.assembler.lib.windows.debug"
+ superClass="cdt.managedbuild.tool.gnu.assembler">
+ </tool>
+ </toolChain>
+ </configuration>
+ <configuration
+ name="WindowsRelease"
+ artifactExtension="a"
+ cleanCommand="rm -rf"
+ errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser"
+ id="cdt.managedbuild.config.gnu.lib.windows.release">
+ <toolChain
+ id="cdt.managedbuild.toolchain.gnu.lib.windows.release"
+ name="%ToolChainName.Rel"
+ scannerInfoCollector="org.eclipse.cdt.managedbuilder.internal.scannerconfig.DefaultGCCScannerInfoCollector"
+ osList="solaris,linux,hpux,aix,qnx"
+ archList="all">
+ <targetPlatform
+ id="cdt.managedbuild.target.gnu.platform.lib.windows.release"
+ name="%PlatformName.Rel"
+ binaryParser="org.eclipse.cdt.core.ELF"
+ osList="solaris,linux,hpux,aix,qnx"
+ archList="all">
+ </targetPlatform>
+ <builder
+ id="cdt.managedbuild.target.gnu.builder.lib.windows.release"
+ name="%BuilderName.Rel"
+ command="make"
+ arguments="-k"
+ buildfileGenerator="org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator">
+ </builder>
+ <tool
+ id="cdt.managedbuild.tool.gnu.c.compiler.lib.windows.release"
+ superClass="cdt.managedbuild.tool.gnu.c.compiler">
+ <option
+ id="gnu.c.compiler.lib.windows.release.option.optimization.level"
+ defaultValue="gnu.c.optimization.level.most"
+ superClass="gnu.c.compiler.option.optimization.level">
+ </option>
+ <option
+ id="gnu.c.compiler.lib.windows.release.option.debugging.level"
+ defaultValue="gnu.c.debugging.level.none"
+ superClass="gnu.c.compiler.option.debugging.level">
+ </option>
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.cpp.compiler.lib.windows.release"
+ superClass="cdt.managedbuild.tool.gnu.cpp.compiler">
+ <option
+ id="gnu.cpp.compiler.lib.windows.release.option.optimization.level"
+ defaultValue="gnu.cpp.compiler.optimization.level.most"
+ superClass="gnu.cpp.compiler.option.optimization.level">
+ </option>
+ <option
+ id="gnu.cpp.compiler.lib.windows.release.option.debugging.level"
+ defaultValue="gnu.cpp.compiler.debugging.level.none"
+ superClass="gnu.cpp.compiler.option.debugging.level">
+ </option>
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.archiver.lib.windows.release"
+ outputs="a"
+ outputPrefix="lib"
+ superClass="cdt.managedbuild.tool.gnu.archiver">
+ </tool>
+ <tool
+ id="cdt.managedbuild.tool.gnu.assembler.lib.windows.release"
+ superClass="cdt.managedbuild.tool.gnu.assembler">
+ </tool>
+ </toolChain>
+ </configuration>
</projectType>
-
+
<projectType
name="%TargetName.cygw.exe"
id="cdt.managedbuild.target.gnu.cygwin.exe"