Hello,
When building a project in Xcode (3.1.2), 2 folders are automatically added as header directories with the '-I' option:
/ (ProjPath) / (ProjName) / build / (BuildConfigName) / include
/ (ProjPath) / (ProjName) / build / (ProjName).build / (BuildConfigName) / (ProjName).build / DerivedSources
I realized this when trying to add -Wmissing-include-dirs
to the warnings list in my project.
A warning is emitted for both folders. This happens for both Cocoa Applications and C++ Dynamic Libraries. I haven't tried any other project type, but I suppose this behavior applies to any project type.
- How are these folders used by Xcode?
- Can they be either avoided, or automatically created by Xcode when build begins?
- If not, how to successfully use
-Wmissing-include-dirs
with Xcode?
Thanks.