Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Run External Tool w/o Build before launch
Run External Tool w/o Build before launch [message #167572] Fri, 07 April 2006 02:40 Go to next message
Eclipse UserFriend
I have defined an External Tool that will create my Makefiles. Now every
time I run it all my projects get rebuild (if source code was modified)
because I have activated
Preferences->Run/Debug->Launchung->Build before launching

This is especially nasty when I have updated my source code via CVS and
rebuild my Makefiles (first all projects are rebuild, then the new
Makefiles are created and then I have to rebuild all projects again).

Of course, I can deactivate "Build before launching" but I need this
option for my debug sessions.
The only workaround seems to deactivate "Build before launching", launch
my external tool and then reactivate "Build before launching". Is it
possible to deactivate "Build before launching" only for External Tools?
Re: Run External Tool w/o Build before launch [message #167589 is a reply to message #167572] Fri, 07 April 2006 03:02 Go to previous messageGo to next message
Eclipse UserFriend
You can register your external tool as an additional builder in the
Project Properties. You should make sure that it is listed before the
CDT builder so that the Makefiles get generated before make is launched.

HTH,
Toni

Axel Mueller wrote:
> I have defined an External Tool that will create my Makefiles. Now every
> time I run it all my projects get rebuild (if source code was modified)
> because I have activated
> Preferences->Run/Debug->Launchung->Build before launching
>
> This is especially nasty when I have updated my source code via CVS and
> rebuild my Makefiles (first all projects are rebuild, then the new
> Makefiles are created and then I have to rebuild all projects again).
>
> Of course, I can deactivate "Build before launching" but I need this
> option for my debug sessions. The only workaround seems to deactivate
> "Build before launching", launch my external tool and then reactivate
> "Build before launching". Is it possible to deactivate "Build before
> launching" only for External Tools?
>
>
>
Re: Run External Tool w/o Build before launch [message #167604 is a reply to message #167589] Fri, 07 April 2006 03:53 Go to previous messageGo to next message
Eclipse UserFriend
But if I have several projects open the External Builder will be launched
for every project and every time I changed my sources.
Re: Run External Tool w/o Build before launch [message #167762 is a reply to message #167604] Mon, 10 April 2006 09:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: arne.anka.ginguppin.de

quote: "in the Project Properties."

On Fri, 07 Apr 2006 09:53:15 +0200, Axel Mueller <aegges@web.de> wrote:

> But if I have several projects open the External Builder will be
> launched for every project and every time I changed my sources.
>
Re: Run External Tool w/o Build before launch [message #168386 is a reply to message #167762] Wed, 19 April 2006 02:15 Go to previous message
Eclipse UserFriend
I guess my message was a little bit misunderstanding. We have one single
script that creates the Makefiles for all our projects. I run this script
manually as an external program. If I add it as an additional builder then
all Makefiles will be recreated for every project I build. That's not what
I want.
Previous Topic:CPU is not supported by selected debugger
Next Topic:Working Set from Project References
Goto Forum:
  


Current Time: Thu Sep 18 12:06:39 EDT 2025

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

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

Back to the top