User forums > Help

Clean Workspace

<< < (2/2)

nacitar:
Well, that has DEFINITELY fixed all my makefile project problems, completely.. every one of them.  I was expecting a fix _eventually_, but not only was this fix fast it knocked the problem right out of the park!


I have two questions, though.

1) I've noticed now though that every time I build, it's doing a silent build.  Is there somewhere to choose between silent and non-silent builds for the project?  I looked around but didn't manage to find it.  Of course, I can always just make my silent build command identical to my non-silent build command.. but it looks to me like there must be an option I'm missing somewhere.

2) Exactly when is the "Ask if rebuild is needed" called?  Just curious on that.


Regards.

Jenna:

--- Quote from: nacitar on January 30, 2009, 11:47:19 pm ---Well, that has DEFINITELY fixed all my makefile project problems, completely.. every one of them.  I was expecting a fix _eventually_, but not only was this fix fast it knocked the problem right out of the park!


I have two questions, though.

1) I've noticed now though that every time I build, it's doing a silent build.  Is there somewhere to choose between silent and non-silent builds for the project?  I looked around but didn't manage to find it.  Of course, I can always just make my silent build command identical to my non-silent build command.. but it looks to me like there must be an option I'm missing somewhere.

2) Exactly when is the "Ask if rebuild is needed" called?  Just curious on that.


Regards.

--- End quote ---

To see the build-outpu, just change "Setting -> Compiler and debugger... -> Global compiler settings -> <the compiler you use> -> Other settings (rightmost tab) -> Compiler logging:" to "Full command line".

The "Ask if rebuild is needed"-command is called before a build is done to decide, whether the project needs a rebuild or not, if not, you get the message "Target is up to date".
In the former version a build was always initiated, even if there was no need to do so.
On really large projects the  "Ask if rebuild is needed"-command might also take some time, but it will in almost every case be much faster than a really build, because no output is generated.


--- Quote ----q, --question
            ‘‘Question mode’’.  Do not run any commands, or print anything; just return an exit status that is zero if the specified targets are already up to date, nonzero otherwise.

--- End quote ---
quote from the make manpage.

I don't know if a similar command exists for other versions of make (borland, microsoft, watcom ...) so the user can use any command that behaves similar.

nacitar:
That makes sense... thanks for the effort it took to get this feature working properly, too... as this wasn't something I was using as a personal project, but as a work project.  So, it helps a lot. :)

Navigation

[0] Message Index

[*] Previous page

Go to full version