I've started to use XCode and it seems to work, well, most of it.
The annoying thing is it compiles all the source files, even those that didn't change, each and every time.
I'm getting the grips with openframeworks and I waste time compiling the openframeworks source files every time although they don't change.
Here are my IDE and machine details:
XCode Version 3.1.2 Component versions Xcode IDE: 1149.0 Xcode Core: 1148.0 ToolSupport: 1102.0
Mac OS X Version 开发者_开发百科10.5.6
Has any one experienced the same problem ? Any workarounds ?
You saved some files, then operating system has synchronized your system time backward. Those files are now detected to be modified in the future. You should execute following bash command in your project main folder:
find . -exec touch {} \;
Many (most?) build systems use the last-modified date and time of the files to determine whether a recompilation needs to be performed. I would first verify that the file dates are behaving as expected; if the files are on a network drive, for example, there could be different time settings or clock discrepancies that would make it appear that the files were modified in the future, so the build system always compiles them. For that matter, if they are on a network drive, the protocol used may not include modified date, and the system simply defaults it to "now," so it always looks like every file was just modified.
My experience is that it recompiles stuff that's changed and stuff that depends on the stuff that's changed. So if you're editing a .h file that gets #import
'd into every other file, then naturally everything will need to get recompiled. However, if you're only editing a .m file, then only the .m should be getting recompiled. I'm unaware of any Xcode setting that would change this behavior.
精彩评论