Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT builds all C projects before launch
CDT builds all C projects before launch [message #175466] Thu, 24 August 2006 23:10 Go to next message
Eclipse UserFriend
I'm working on a new plugin that has a launch configuration type which
launches files from CDT standard make projects.

The problem is that every time I launch with it, CDT builds every C
project in the workspace before eclipse even calls my launch configuration
delegate.

Does anyone know why CDT would want to build every single C project in the
workspace? What might trigger this? How does CDT even know that I'm trying
to launch with my launch configuration type? It seems like the debug
plugin would just invoke my launch delegate directly. Why is CDT even
involved?

Any ideas on how I can stop this from happening?

Thanks,
Ryan
Re: CDT builds all C projects before launch [message #175499 is a reply to message #175466] Fri, 25 August 2006 13:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chad_colgur.hotmail.com

Hi Ryan,

I'm not totally familiar with your plug-in but I can point out a few
workbench and project settings that you might not be aware of.

Under Preferences->Run/Debug->Launching you will see General Settings
relating builds and launches. You may have inherited some settings that you
need to override in your plug-in that you don't even know about yet.

There are also C/C++ fields in the Workbench Preferences panel. Under the
Make section you will find auto and incremental settings that are default
for any new project. If you leave the defaults then I've found that by
building one project I inadvertently start building all projects (unless I
change the default or close the other projects).

You're probably aware of all this though but I thought I would mention just
in case.

Regards,
Chad

"Ryan Boder" <boder@bitwiserlabs.com> wrote in message
news:6a5b4ea6431091bd9b765068051c34e6$1@www.eclipse.org...
> I'm working on a new plugin that has a launch configuration type which
> launches files from CDT standard make projects.
>
> The problem is that every time I launch with it, CDT builds every C
> project in the workspace before eclipse even calls my launch configuration
> delegate.
>
> Does anyone know why CDT would want to build every single C project in the
> workspace? What might trigger this? How does CDT even know that I'm trying
> to launch with my launch configuration type? It seems like the debug
> plugin would just invoke my launch delegate directly. Why is CDT even
> involved?
>
> Any ideas on how I can stop this from happening?
>
> Thanks,
> Ryan
>
>
Re: CDT builds all C projects before launch [message #175507 is a reply to message #175499] Fri, 25 August 2006 20:04 Go to previous message
Eclipse UserFriend
Yep, you're right. It was the "Build (if required) before launching"
option under Run/Debug -> Launching. No, I didn't know about that. Thanks.
Previous Topic:Context senistive help for c/c++ if using Cygwin?
Next Topic:CDT 3.1, Eclpise 3.2 "-MMD -MP -MF"
Goto Forum:
  


Current Time: Thu Jul 24 15:44:37 EDT 2025

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

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

Back to the top