• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
.xcconfig
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

.xcconfig


  • Subject: .xcconfig
  • From: Benoit Thomas <email@hidden>
  • Date: Fri, 04 Jun 2010 13:45:38 -0400

Hello,

I'm developing an internal library which is used by the various projects here. I'm using .xcconfig to setup debug and release configuration. The main reason I'm using .xcconfig files is because of the #include command, which allow the user to override build settings without modifing the library (they do not have access, so this is the only way).

I use something like:

SET_DEFAULT_CONFIGURATIONS = MANY_VALUES
#include ".../../some_config_dir/user_config.xcconfig"

2 Questions:

- 1 -
Instead of having a relative path, I would prefer an absolute path (base on the location on the project file), something like this:
#include "$(SRCROOT)/../../some_config_dir/user_config.xcconfig"


but naturally, this doesn't work :(

- 2 -
The user config file is optional. When my config files tries to include the user config file I get a warning if the files are missing. Is there any way to disable _only_ those warnings (since many projects are on Warning as Errors policy) ? Currently, the user need to create empty config files to get rid of those warnings


Thanks a lot for the help,
Ben.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: .xcconfig
      • From: Rush Manbert <email@hidden>
  • Prev by Date: Xcode Loses Index on Framework Symbols
  • Next by Date: CURRENT_ARCH definition incorrect
  • Previous by thread: Xcode Loses Index on Framework Symbols
  • Next by thread: Re: .xcconfig
  • Index(es):
    • Date
    • Thread