Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Build Completes Then Waits?
Build Completes Then Waits? [message #741003] Wed, 19 October 2011 00:50 Go to next message
Eclipse UserFriend
Hi Guys,

I have noticed that the build of my C++ project appears to wait for longer than the build after the build completes. The progress bar appears to remain at 50% after the console output completes.

I am using indigoSR1 with CDT with Makefiles. We do not use managed build.

Is there anyway I can narrow down what the build is doing after the build completes? I have tried disabling the indexer, error parsers etc but cannot work it out.

Any suggestions on how to find a clue?

Regards,

Matt
Re: Build Completes Then Waits? [message #741095 is a reply to message #741003] Wed, 19 October 2011 03:16 Go to previous messageGo to next message
Eclipse UserFriend
Eclipse will refresh the workspace. As you are using your own Makefile Eclipse does not know which files were changed during the build. In Eclipse Indigo (latest release) you can limit the scope of folders to refresh. Open project properties->C/C++ Build and select the tab "Refresh policy". Here you can insert the folders that are actually modified during build.
Re: Build Completes Then Waits? [message #741183 is a reply to message #741095] Wed, 19 October 2011 05:07 Go to previous messageGo to next message
Eclipse UserFriend
Hi Axel,

Nice to chat again.

I had already tried this but it had no effect, but plausible. I did a test and found that if I reduced that number of files in the project that it did wait less, even though the setting is disabled.

Perhaps it is doing it anyway?

I have noticed that my projects properties page contains 'Environment' and a few others at different levels with the same content (corrupt?). I did recreate the project settings (at some expense) and this issue persists. Maybe this is a red herring and related to another problem I am experiencing between multiple large projects in the same workspace.

Matt
Re: Build Completes Then Waits? [message #742146 is a reply to message #741183] Thu, 20 October 2011 04:11 Go to previous messageGo to next message
Eclipse UserFriend
You can also limit the scope of the binary file parser in Project properties->C/C++ General->Paths and Symbols->Output location
Re: Build Completes Then Waits? [message #742874 is a reply to message #742146] Thu, 20 October 2011 19:24 Go to previous message
Eclipse UserFriend
I had already tried this too. I spent some more time yesterday.

If in the case nothing is selected for refreshing, parsing etc, if there is a default imposed ?
If there is a difference between building a make target vs 'build project' ?

Perhaps any kind of refresh should be in a separate background process so as not to delay a run/debug ?

I am not sure if it is the indexer, but it happens even if it is disabled.
I am not sure if it is discovery, but it happens even if it is disabled.

Matt
Previous Topic:Including Library paths
Next Topic:Variable in file to control name of the output file
Goto Forum:
  


Current Time: Wed Jul 30 15:00:08 EDT 2025

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

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

Back to the top