• 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
Re: Equivalent to xcconfig conditionals available?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Equivalent to xcconfig conditionals available?


  • Subject: Re: Equivalent to xcconfig conditionals available?
  • From: "Mattias Arrelid" <email@hidden>
  • Date: Tue, 17 Jun 2008 15:09:25 +0200

On Tue, Jun 17, 2008 at 2:35 PM, Matt Gough <email@hidden> wrote:
>
> On 17 Jun 2008, at 14:26, Mattias Arrelid wrote:
>
>> Can I achieve this somehow? The Xcode User Guide doesn't reveal too
>> much on this, and neither does searching Google and this archive. I
>> know we could split each target into two targets, but that really
>> isn't feasible. If one cannot have conditionals, I guess there is no
>> syntax for checking if a config file is present before inclusion
>> either?
>
> Not sure if this helps, but if you try to #include a non-existent xcconfig
> file, it will just generate a warning; it won't bail completely.
>
> i.e you could just do
>
> #include "config_for_something.h"
> #include "another_config.h"

That is what we're doing right now, but I really don't want those
warnings since when I navigate through _actual_ warnings with my
keyboard, I don't want to step through X warnings that warns me that
the file trying to be included cannot be found.

Thanks for the tip though!

/ M
 _______________________________________________
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

References: 
 >Equivalent to xcconfig conditionals available? (From: "Mattias Arrelid" <email@hidden>)
 >Re: Equivalent to xcconfig conditionals available? (From: Matt Gough <email@hidden>)

  • Prev by Date: Re: Equivalent to xcconfig conditionals available?
  • Next by Date: Re: Latest Core Reference Library breaks Xcode bookmarks
  • Previous by thread: Re: Equivalent to xcconfig conditionals available?
  • Next by thread: Re: Equivalent to xcconfig conditionals available?
  • Index(es):
    • Date
    • Thread