|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
Thanks Chris for this valuable info It is the kind of thing that I would have
expects to be in: It seems to be totally undocumented…
weird. From:
Chris Espinosa [mailto:email@hidden] On Jun 17, 2009, at 12:38 PM, Stéphane Beauchemin wrote:
We need to have some source
files included only in the debug version but not in the release build. It seems
to be impossible to do that kind of thing with XCode. Anyone has a workaround,
for it? We have about 100 files that need be
removed from the release build (those files needs to be in release build). It
is a multiplatform library so we don’t really want to pollute all the
files by #ifdef DEBUG. Create a User-Defined Build Setting in the Release build called
EXCLUDED_SOURCE_FILE_NAMES and set its value to a list of file names (or
filename patterns, e.g. "*debug.m") that only match the files to be
excluded. Those files will bot be processed in the build. Chris |
_______________________________________________ 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: | |
| >Conditional include based on configuration (From: Stéphane Beauchemin <email@hidden>) | |
| >Re: Conditional include based on configuration (From: Chris Espinosa <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.