Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Patrick_C on June 16, 2008, 10:52:43 am
-
Hello
I'm having a problem with the compile and run feature. A while ago when i
used the compile and run feature normally, it compiled only the files which were modified.
But one day it just changed suddenly. It started to compile the hole project each time i do
even a little change in a single file. I've tried to make new project files etc. Tried even to
reinstall CodeBlocks with no help. It seems that my project doesn't keep itself up to date anymore.. :/
Some other projects work properly, and i've tried to mimic properties from them.. no help..
I would really appreciate help on this problem. Thanks!
Patrick
-
For the project(s) not working:
Could you inspect the time stamp of your source files whether it's plausible? I had an issue in a VM recently where (by mistake) I set the year 2007 in 2008. Thus all files were always compiled as they were all "created" in the future. This may also happening if you copy / sync files from another machine which differs in the system time.
-
Yes, system times are okay on both machines. And time stamps on source file are also valid
Any other suggestions? So yeah, the fact is that project is done between two different machines.
Other machine is running on vista and other on XP
EDIT: Problem solved, it was the time stamps on some files. I just happened to notify these differences in some files by accident.
So I downloaded the FileDate Changer V1.1 from: http://www.nirsoft.net/utils/filedatech.html and told the program to change all of the file dates :)