• 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: Matt Gough <email@hidden>
  • Date: Tue, 17 Jun 2008 14:35:41 +0200


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"

if they are mutually exclusive.

(It would be best though if you could have an empty other file so as to not get the warnings for every file you compile.)

Matt
_______________________________________________
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: Equivalent to xcconfig conditionals available?
      • From: "Mattias Arrelid" <email@hidden>
References: 
 >Equivalent to xcconfig conditionals available? (From: "Mattias Arrelid" <email@hidden>)

  • Prev by Date: Equivalent to xcconfig conditionals available?
  • Next by Date: Re: Equivalent to xcconfig conditionals available?
  • Previous by thread: Equivalent to xcconfig conditionals available?
  • Next by thread: Re: Equivalent to xcconfig conditionals available?
  • Index(es):
    • Date
    • Thread