Re: Controlling optimization level per function
Re: Controlling optimization level per function
- Subject: Re: Controlling optimization level per function
- From: Eric Gorr <email@hidden>
- Date: Fri, 9 Jul 2010 15:13:21 -0400
On Jul 9, 2010, at 3:07 PM, Sean McBride wrote:
> On Fri, 9 Jul 2010 15:05:28 -0400, Eric Gorr said:
>
>>> Not sure, but you can use per-file compiler flags, so you could maybe
>>> move your problematic code to a file on its own.
>>
>> I tried hunting for how to do that, but couldn't find the documentation
>> for how to setup a compile flag for my .cpp file.
>>
>> Do you know how it is done?
>
> select the file in the project, do Cmd-I, go to the Build tab, enter flags.
Ah.
I finally spotted the build tab.
One needs to go to the Target you are building, find the file in the Compile Sources section, do Cmd-I, and the Build tab will be there.
Simply selecting the file in the Group Tree and pressing Cmd-I does not show a build tab.
Will be trying to modify the optimization level for the file soon.
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