Re: Compiling Files Only in One Configurations
Re: Compiling Files Only in One Configurations
- Subject: Re: Compiling Files Only in One Configurations
- From: Hamish Allan <email@hidden>
- Date: Thu, 25 Aug 2011 09:17:44 +0100
On 25 August 2011 09:06, Salman Khilji <email@hidden> wrote:
> I'd like to compile a slightly different set of files in both configurations. Say, Foo_Debug.cpp in Debug, and Foo_Release.cpp in the Release configuration.
You could create a file Foo.cpp containing:
#ifdef DEBUG
#include "Foo_Debug.cpp"
#else
#include "Foo_Release.cpp"
#endif
and add that to the "Compile Sources" build phase instead.
H
_______________________________________________
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