Re: Getting build flag setting in code
Re: Getting build flag setting in code
- Subject: Re: Getting build flag setting in code
- From: "parag vibhute" <email@hidden>
- Date: Mon, 6 Aug 2007 15:24:40 +0530
I added "-dtest" in "Other C Flags".
Now written following code in main function:
#if (defined(test))
printf("additional compiler flag===\n");
#endif
But nothing is getting printed. How should I proceed?
Thanks,
Palav
On 8/6/07, Kai-Mikael Jää-Aro <
email@hidden> wrote:
parag vibhute kirjoitti 2007-08-06 kello 11:29:
> thanks for reply. But there is nothing like "additional compiler
> flag" in build pane of xcode. Can u tell exactly what should I do?
If you want to set the flag globally, do the following:
Bring up the project window for your project.
Select the project icon (that's the topmost one in the Groups & Files
list)
Click Info
In the Info window, select the Build tab
Select "Other C Flags"
Click Edit
Add your compiler flags in the popup editor window.
--
There are many things in your life that will catch your eye but only a few will catch your heart....pursue those'
.
_______________________________________________
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