Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT2.0-RC1 problem with makefile generator
CDT2.0-RC1 problem with makefile generator [message #108106] Tue, 29 June 2004 10:53 Go to next message
Eclipse UserFriend
Hello,

I've successfully extended the ManagedBuildInfo with CDT1.2 for my target.

Now, I try to extend the ManagedBuildInfo with the CDT2.0-RC1 (Eclipse
3.0) and I encounter some problem with makefile generation.
No makefile is generated when I select "Managed Make C project" for my
target. (No more "Includes" directory is created into my project).

Please find in attached file my plugin.xml. I've created my plugin.xml
from the one based in org.eclipse.cdt.managedbuilder.ui.

Can someone help me please ? Is it a bug in CDT ?
Thanks

--------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
id="org.example.ide"
name="Ide Plug-in"
version="1.0.0"
class="org.example.ide.IdePlugin">

<runtime>
<library name="ide.jar">
<export name="*"/>
</library>
</runtime>

<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.cdt.core"/>
<import plugin="org.eclipse.cdt.debug.core"/>
<import plugin="org.eclipse.cdt.make.core"/>
<import plugin="org.eclipse.cdt.make.ui"/>
<import plugin="org.eclipse.cdt.managedbuilder.ui"/>
<import plugin="org.eclipse.core.resources"/>
</requires>

<extension
id="org.example.ide.toolchain"
name="Example Toolchain"
point="org.eclipse.cdt.managedbuilder.core.ManagedBuildInfo ">
<managedBuildRevision
fileVersion="2.0.0">
</managedBuildRevision>
<target
name="Target Example"
id="org.example.cdt.managedbuild.target.gnu"
cleanCommand="rm -rf"
isTest="false"
errorParsers=" org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GC CErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse .cdt.core.GASErrorParser "
isAbstract="true"
makeCommand="make"
binaryParser="org.eclipse.cdt.core.ELF"
makeArguments="-k">
<tool
sources="c"
name="Sample compiler"
id="org.example.cdt.managedbuild.tool.gnu.c.compiler"
command="gcc"

dependencyCalculator=" org.eclipse.cdt.managedbuilder.makegen.gnu.DefaultGCCDepende ncyCalculator "
headerExtensions="h"
natureFilter="cnature"
outputs="o"
outputFlag="-o">
</tool>
</target>
<target
name="Target Sample cygwin"
id="org.example.cdt.managedbuild.target.gnu.cygwin.exe"
isTest="false"
defaultExtension="exe"

scannerInfoCollector=" org.eclipse.cdt.managedbuilder.internal.scannerconfig.Defaul tGnuWinScannerInfoCollector "

makefileGenerator=" org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenera tor "
isAbstract="false"
binaryParser="org.eclipse.cdt.core.PE"
parent="org.example.cdt.managedbuild.target.gnu"
osList="win32">
<configuration
name="Debug"

id="org.example.cdt.managedbuild.config.gnu.cygwin.exe.debug ">
<toolReference
id="org.example.cdt.managedbuild.tool.gnu.c.compiler">
</toolReference>
</configuration>
</target>

</extension>

</plugin>
Re: CDT2.0-RC1 problem with makefile generator [message #108218 is a reply to message #108106] Tue, 29 June 2004 14:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scott.nospam.com

On Tue, 29 Jun 2004 14:53:43 +0000, Jerome Correnoz wrote:

> Now, I try to extend the ManagedBuildInfo with the CDT2.0-RC1 (Eclipse
> 3.0)

Where did you get CDT2.0-RC1? I can only find links to M9...

Scott
Re: CDT2.0-RC1 problem with makefile generator [message #108443 is a reply to message #108218] Wed, 30 June 2004 20:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tiago.nospamtoo.com

Scott wrote:

> On Tue, 29 Jun 2004 14:53:43 +0000, Jerome Correnoz wrote:

> > Now, I try to extend the ManagedBuildInfo with the CDT2.0-RC1 (Eclipse
> > 3.0)

> Where did you get CDT2.0-RC1? I can only find links to M9...

http://download.eclipse.org/tools/cdt/updates/builds/2.0RC1/

RC2 is out too:

http://download.eclipse.org/tools/cdt/updates/builds/2.0RC2/

I don't know why it's hidden though.
Re: CDT2.0-RC1 problem with makefile generator [message #108649 is a reply to message #108443] Fri, 02 July 2004 11:57 Go to previous message
Eclipse UserFriend
Originally posted by: scott.nospam.com

On Thu, 01 Jul 2004 00:36:44 +0000, Tiago Peixoto wrote:
>
> http://download.eclipse.org/tools/cdt/updates/builds/2.0RC1/
>
> RC2 is out too:
>
> http://download.eclipse.org/tools/cdt/updates/builds/2.0RC2/
>
> I don't know why it's hidden though.

Thanks very much!

Best,
Scott
Previous Topic:How to run CVS tests
Next Topic:HELP! How can a plugin get the current Session
Goto Forum:
  


Current Time: Sun Jul 27 02:15:52 EDT 2025

Powered by FUDForum. Page generated in 0.07057 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top