Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » someone pls relpy back... if this can be done or not???
someone pls relpy back... if this can be done or not??? [message #75647] Tue, 15 July 2003 06:14 Go to next message
Eclipse UserFriend
Originally posted by: shilpagu.noida.hcltech.com

i m new to CDT.
i need to create a C project and add to its build spec, a builder of my
own in addition to the default C builder.
now since no cdt help is available, i dont know anything bout CDT API. how
do i move on?
like as in case of Java, we can simply create an instance of type
IJavaProject and add to its build spec our builders and so on and move.
can something similar be done in case of C also?
some source code is available on the cdt home page but could someone just
give me a direction in which to move.
Re: someone pls relpy back... if this can be done or not??? [message #75666 is a reply to message #75647] Tue, 15 July 2003 15:22 Go to previous messageGo to next message
John Camelon is currently offline John CamelonFriend
Messages: 50
Registered: July 2009
Member
Anything is possible!

Architecturally, the CDT started as a clone to the JDT.
Between downloading the source and using text hover/code assist, you should
be able to figure it out.
I believe Sean Evoy answered this question for you a week ago ...

JohnC

"Shilpa" <shilpagu@noida.hcltech.com> wrote in message
news:bf064t$ovg$1@eclipse.org...
> i m new to CDT.
> i need to create a C project and add to its build spec, a builder of my
> own in addition to the default C builder.
> now since no cdt help is available, i dont know anything bout CDT API. how
> do i move on?
> like as in case of Java, we can simply create an instance of type
> IJavaProject and add to its build spec our builders and so on and move.
> can something similar be done in case of C also?
> some source code is available on the cdt home page but could someone just
> give me a direction in which to move.
>
>
>
Re: someone pls relpy back... if this can be done or not??? [message #76570 is a reply to message #75647] Wed, 23 July 2003 12:48 Go to previous message
Thomas Fletcher is currently offline Thomas FletcherFriend
Messages: 7
Registered: July 2009
Junior Member
"Shilpa" <shilpagu@noida.hcltech.com> wrote in message
news:bf064t$ovg$1@eclipse.org...
> i m new to CDT.
> i need to create a C project and add to its build spec, a builder of my
> own in addition to the default C builder.
> now since no cdt help is available, i dont know anything bout CDT API. how
> do i move on?
> like as in case of Java, we can simply create an instance of type
> IJavaProject and add to its build spec our builders and so on and move.
> can something similar be done in case of C also?
> some source code is available on the cdt home page but could someone just
> give me a direction in which to move.

Two options ... you can change the default build comand to invoke whatever
you want before/after you invoke make so this gives you complete control.
For example in the project properties you can change the build command to
(under Unix in any case) spawn a shell script:

#!/bin/sh

echo "I echo before the command"
make $0
echo "I echo after the command"

If you want to do it programatically, then you can add yourself as a builder
on
to the project using the standard Eclipse API's.

Hope this helps,
Thomas
Previous Topic:C-Build path
Next Topic:Re: Does the CDT work with the Eclipse 3.0 M2 ?
Goto Forum:
  


Current Time: Sun Jun 30 13:48:41 GMT 2024

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

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

Back to the top