Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » automatically call make when debug/run
automatically call make when debug/run [message #181784] Thu, 04 January 2007 07:52 Go to next message
Eclipse UserFriend
Originally posted by: mliu.nextwave.com

Hi,

I have a standard make C++ project. Every time I run/debug the
application, Eclipse automatically calls make to rebuild. Are there
anyway to disable that?

Thanks!
Mike
Re: automatically call make when debug/run [message #181787 is a reply to message #181784] Thu, 04 January 2007 17:54 Go to previous messageGo to next message
Geert Vancompernolle is currently offline Geert VancompernolleFriend
Messages: 11
Registered: July 2009
Junior Member
Mike wrote:
> Hi,
>
> I have a standard make C++ project. Every time I run/debug the
> application, Eclipse automatically calls make to rebuild. Are there
> anyway to disable that?
>
> Thanks!
> Mike

"Projects" -> "Build Automatically": make sure there's no checkbox in front of
this item.

If so, click on that item and the checkbox should disappear...

Best rgds,

--Geert
Re: automatically call make when debug/run [message #181844 is a reply to message #181787] Fri, 05 January 2007 18:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mliu.nextwave.com

Thanks, but it doesn't work.

The "Build automatically" option only affects whether the project is
rebuilt or not once there is a source change.

My problem is that when running or debugging, the make is called first
even though there is no source change. Certainly make does not
re-compile everything, but I wonder why the make must be called before
running/debugging, or my setting is incorrect.

Thanks!

Geert Vancompernolle wrote:
> Mike wrote:
>> Hi,
>>
>> I have a standard make C++ project. Every time I run/debug the
>> application, Eclipse automatically calls make to rebuild. Are there
>> anyway to disable that?
>>
>> Thanks!
>> Mike
>
> "Projects" -> "Build Automatically": make sure there's no checkbox in
> front of this item.
>
> If so, click on that item and the checkbox should disappear...
>
> Best rgds,
>
> --Geert
Re: automatically call make when debug/run [message #181909 is a reply to message #181844] Sun, 07 January 2007 23:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: porges.comcast.net

"Mike" <mliu@nextwave.com> wrote in message
news:enm6vs$243$1@utils.eclipse.org...
> Thanks, but it doesn't work.
>
> The "Build automatically" option only affects whether the project is
> rebuilt or not once there is a source change.
>
> My problem is that when running or debugging, the make is called first
> even though there is no source change. Certainly make does not re-compile
> everything, but I wonder why the make must be called before
> running/debugging, or my setting is incorrect.
>

That's common IDE behaviour in general -- both MSVC and CodeWarrior do it;
*especially* if you have Build Automatically off, it protects you against
debugging
an executable against source that has been updated but not built.
Re: automatically call make when debug/run [message #181917 is a reply to message #181909] Mon, 08 January 2007 07:23 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Have a look at Preferences->Run/Debug. Disable "Build before launching" in
General Options.

>> My problem is that when running or debugging, the make is called first
>> even though there is no source change. Certainly make does not re-compile
>> everything, but I wonder why the make must be called before
>> running/debugging, or my setting is incorrect.
>>


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: automatically call make when debug/run [message #182070 is a reply to message #181917] Wed, 10 January 2007 18:08 Go to previous message
Eclipse UserFriend
Originally posted by: mliu.nextwave.com

Axel Mueller wrote:
> Have a look at Preferences->Run/Debug. Disable "Build before launching"
> in General Options.
>
>>> My problem is that when running or debugging, the make is called
>>> first even though there is no source change. Certainly make does not
>>> re-compile everything, but I wonder why the make must be called
>>> before running/debugging, or my setting is incorrect.
>>>
>
>
Thank you, that works!
Previous Topic:Quiz!!:: Find My Error in reasoning: GCC C++ Linker: undefinde reference ....
Next Topic:Adding source files from another project
Goto Forum:
  


Current Time: Sat Jul 13 18:43:36 GMT 2024

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

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

Back to the top