Re: Showing all the build settings
Re: Showing all the build settings
- Subject: Re: Showing all the build settings
- From: Eric Gorr <email@hidden>
- Date: Tue, 16 Oct 2007 16:08:48 -0400
On Oct 16, 2007, at 4:00 PM, Chris Espinosa wrote:
On Oct 16, 2007, at 8:43 AM, Eric Gorr wrote:
There is some compiler flag that one can add which, instead of
actually compiling the code, will output all of the build settings
that will be used to compile the code.
Does anyone know what this flag is? I cannot seem to find it again
and neglected to write it down when I found it before.
If by "build settings" you actually mean "preprocessor macros,"
then you're looking for -dM.
1) Project > Edit Current Target
2) In Build tab, find Other C Flags and add -dM to it
3) Choose your source file and select Build > Preprocess
You'll get a list of all the preprocessor macros defined for the
compilation of that file.
Yep, I really meant 'preprocessor macros' ... thanks.
_______________________________________________
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