Re: Excluding some code when building with development style
Re: Excluding some code when building with development style
- Subject: Re: Excluding some code when building with development style
- From: j o a r <email@hidden>
- Date: Tue, 11 May 2004 17:17:22 +0200
Hej,
I have also looked for this, but didn't find any built in define
matching the current build style. I ended up adding -DDEBUG as an
"other C flag" to my development build style and then used that to
switch things on/off in code.
j o a r
On 2004-05-11, at 16.39, Peter Borg wrote:
> I want to exclude some code when I'm developing my program and only
> include it when I build it with Deployment Style. The problem is that
> the code in question gives me a warning when I compile (it is an
> undocumented method) and it gets to be annoying after a while but I
> can't really turn the warnings off as they usually need them. I guess
> what I'm looking for is something like:
>
> #if DEPLOYMENT_STYLE_BUILD
> compile this code
> #endif
>
> But I can't find the syntax for it and was wondering if any of you
> know of a good way to do this?
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.