relinking on Debug project

General questions regarding the usage of CodeLite
User avatar
kspes
CodeLite Enthusiast
Posts: 41
Joined: Sat Jan 30, 2010 2:18 am
Genuine User: Yes
IDE Question: C++
Contact:

relinking on Debug project

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: relinking on Debug project

Post 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
Make sure you have read the HOW TO POST thread
User avatar
kspes
CodeLite Enthusiast
Posts: 41
Joined: Sat Jan 30, 2010 2:18 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: relinking on Debug project

Post 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.
Post Reply