I have been investigating this and, ironically, what I have actually found (so far) is a case of the opposite! A project that keeps being rebuilt even when no files had been touched.
On every click on Rebuild I keep getting this message...
-------------- Build: Release in RebuildTest (compiler: GNU GCC Compiler)---------------
g++.exe -L. -LC:\Programacion\KTools\Libraries -o .\RebuildTest.exe .\Main.o -s -static-libgcc -static-libstdc++
Output size is 7.50 KB
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings (0 minutes, 0 seconds)
In other projects I have, it just shows the typical "Nothing to be done" message, but in this one it never happens...
What I have seen that happens here, is that the object file is never touched (last modification time keeps constant), but exe file keeps being relinked for some reason.
Attached is a simple project where I have this happening. Let's see if you can reproduce it
EDIT: I have found that this only happens when I turn on the "use flat objects" compiler option. Turning it off stops relinking and shows the "Nothing to be done" message.
[attachment deleted by admin]