User forums > Using Code::Blocks
I don't change any source code, but click the build button will cause rebuild
Jenna:
--- Quote from: ollydbg on November 23, 2010, 12:25:09 pm ---
--- Quote from: jens on November 23, 2010, 12:19:40 pm ---Did you check the timestamps of the new quex-files ?
--- End quote ---
So, all the header files from quex-lib header should be older than my project??
I will check it, it seems one file (a python script) is 2010-11-24, and my windows system time is 2010-11-23 right now.
--- End quote ---
Yes, at least after a build or rebuild.
ollydbg:
I have solved my problem. :D
I just download a tool ( BatchTouch is a utility to batch-change the creation and or modification date of files and folders. it is a free ware. ) to change all the files' time-stamp under the quex foder and sub-folders. I change them to 2010-11-22 which is an older time stamp.
Now everything works very fine!!!
For those who meet the same problem, you can do like me.
thanks jens for the help!!!
BTW: not sure how to do it under plain windows batch script.
reckless:
can be done via batch file but you need touch.exe from either msys (needs the msys dll) or gnuwin coreutils (native windows)
some thing like this should do
@touch -t "%*"
where %* is the date time etc passed to the batch file.
so if your batch file is called touchthis.bat then call it like this touchthis.bat 2010-11-23
Jenna:
To get the actual timestamp you can try
--- Code: ---copy *.*,,+
--- End code ---
or put in a batch-file that scans all files in all subdirs and copies them.
Based on http://www.computing.net/answers/programming/batch-change-file-modified-date/17132.html .
ollydbg:
thanks jens and reckless for your time and help!!!
Navigation
[0] Message Index
[*] Previous page
Go to full version