On 7 Nov 2007, at 20:59, Scott Tooker wrote: On 7 Nov 2007, at 19:46, Chris Espinosa wrote: OK, but according to that documentation, the default value for XCCodeSenseIndexBasePath is OBJROOT/<project_name>.pbxindex.
So why, when I add:
OBJROOT = /BuiltBits/$(BRANCH_NAME)
to my xxconfig file does it still want to put the indexes in the same folder as my project file, and not somewhere in my BuiltBits folder?
Because there's one index per project, and it uses the project settings to expand OBJROOT. If you set it on a per-target basis you won't get a separate index per target.
Chris
OK and I had forgotten that xcconfig files only affect targets settings, not the project settings. I guess there is no such equivalent config file for the Project-specific settings.
Not true. If you go to the Build tab in the Project Info window you can set the xcconfig file to inherit project settings from. I encourage you to look over the build settings documentation in the Xcode User's Guide. It does a really good job of providing an overview of how all the different build settings levels work.
Scott
Yes, but that is only per-configuration. It is not Project-wide.
True, though you can choose to view all configurations and then set the configuration file (yes, you are setting the file on each configuration at the project level, but it ends up having the same effect).
Scott
|