XCode and icc problem: always recompiles entire project
I'm developing a C++ application on the Mac using the XCode IDE. I recently switched from using gcc to the Intel C++ Compiler. During installation, I followed the icc documentation and set the compilation rules so that C++ files are compiled using icc (version 11.0.064).
My project compiled fine. But I found that each time I built the project, XCode would recompile the entire project instead of compiling only the files I changed. In fact, I found that XCode would recompile the entire project even if I don't make any changes to the code.
It seems like this might be an XCode problem, but it works fine when I use gcc as the compiler. Has anyone encountered this problem? I've used icc with Windows and Linux successfully, but this is the first time I've used it on the Mac. If I've missed any installation/configuration steps, please let me know.