Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT adding flags to my build command
CDT adding flags to my build command [message #42752] Tue, 24 September 2002 17:29 Go to next message
Eclipse UserFriend
Originally posted by: ellisje.hotmail.com

Hi all, I'm, using the Borland command line compiler under the Windows
platform (wanted to avoid some of the GCC/Cygwin problems some of my
colleagues have encountered). My problem is that I'm not using a makefile
for my project, and even though I'm configuring my own build command, CDT
insists on adding "clean all" at the end of the command line, which causes
Borland not to compile. The only way I can get around this is to go into
the project properties and re-apply the commandline which will cause CDT to
send the correct command for that one time only. Is there anyway to fix
this?

-Justin
Re: CDT adding flags to my build command [message #42783 is a reply to message #42752] Wed, 25 September 2002 03:05 Go to previous message
Eclipse UserFriend
Justin Ellis wrote:

> Hi all, I'm, using the Borland command line compiler under the Windows
> platform (wanted to avoid some of the GCC/Cygwin problems some of my
> colleagues have encountered). My problem is that I'm not using a makefile
> for my project, and even though I'm configuring my own build command, CDT
> insists on adding "clean all" at the end of the command line, which causes
> Borland not to compile. The only way I can get around this is to go into
> the project properties and re-apply the commandline which will cause CDT to
> send the correct command for that one time only. Is there anyway to fix
> this?

> -Justin

Try to do next:

In org.eclipse.cdt.core/plugin.xml file find string

<extension
point="org.eclipse.cdt.core.CBuildCommand">.

There will be parameter named "build command". Write in field "command"
instead "make" your own command line which build C/C++ project. So you
shouldn't make any changes in project's properties. The default builder
command for your C/C++ Projects will change for command you input.

P.S. As I understood developers planning to make the process of
configuring the project builder more comfortable.


Hope it helps,
Igor S. Zamyatin
Interstron Ltd.
----------------------------------------
email: isz@interstron.ru
tel: +7 (095) 269-4713
cell: +7 (902) 659-5838
www: http://www.interstron.ru
Previous Topic:Can I turn make off for every save
Next Topic:Refactoring support
Goto Forum:
  


Current Time: Tue Jul 22 19:09:59 EDT 2025

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

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

Back to the top