I am using the combination of the C++ Compiler XE 14.0 Update 1 and Xcode 5.0.2 running on OS X 10.9.1 and am seeing compilation issues (which is reproducible among 2 of my other colleagues on similar setups).
The problem is the following: any changes to header files within a project are not treated accordingly and recompilation of respective compilation units and relinking of products is not carried out.
Workarounds to this (all impractical) are:
- clean the project and rebuild everything
- close the Xcode project and re-open it
- close Xcode and relaunch it
A very simple Xcode project was created that demonstrates the issue.
- Create a new Xcode, blank.
- Create a C++ library target - dynamic.
- Add two files, e.g. a foo.cpp and a foo.h file
- Set the compiler to Intel's C++ XE 14
- Build - all is well
- Build again - no extra work, all is well
- Modify the foo.h file
- Build - fails to rebuild correctly.
A link to a sample Xcode project can be found here:
Once built, any changes to the *.h file does not incur a recompilation and a relink of the generated *.dylib. This issue does not occur when using Apple's LLVM compiler.
Does anyone know of potential solutions to this?
Thanks for reporting this issue. I've reported about it to the developers, and I'll keep this thread updated with any news from them.
Tracking ID: DPD200252300