Page 1 of 1

relinking on Debug project

Posted: Tue Feb 16, 2010 6:26 pm
by kspes
Why does the project get re-linked when I run the debugger (when the option to compile before debugging is on), even though no changes were made from the last compile? I know this is probably make's fault (mingw32-make), but is there a way to avoid it?

also, I can't find the option to compile before debugging, I accidentally disabled it.

Re: relinking on Debug project

Posted: Tue Feb 16, 2010 7:27 pm
by eranif
Currently this is done in order to assure that any changes to a static library will be relinked into any exe/dll which requires them.

In order to fix it, it requires changing the generated makefile - which is not simple.

Eran

Re: relinking on Debug project

Posted: Tue Feb 16, 2010 7:38 pm
by kspes
Can this be easily done?:
keeping timestamps on all static libs used by the target and in case of a changed timestamp, invoke make, otherwise don't.