Re: Equivalent to xcconfig conditionals available?
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