Contribute  :  Calendar  :  Advanced Search  :  Site Statistics  :  Directory  :  Files to download  :  Links for developers  :  Privacy policy  :  Web Resources  :  Polls  
    MacOSX Guru Site Information, tips and tricks, FAQ for Mac OS X developers    
 Welcome to MacOSX Guru Site
 Monday, December 17 2018 @ 07:57 AM UTC

How to change compiler settings for one particular file ?

   
ProjectBuilder-XCodeI need to compile a source file with different compiler settings as the other files of the project, how to ?

PB:
Select the Sources line in the Build phase list of the concerned target (in the Targets tab), find out the desired source file name in the list, select it and then select in the Project menu the Show info item (or type command + I). Enter the required compiler flags in the now displayed window.

XCode (1.0.1 - native target):
Select the source file in the Sources build phase of the desired target, then Get Info, select the Build tab of the displayed window and enter your additional flags.
 

What's Related

Story Options

How to change compiler settings for one particular file ? | 0 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
 Copyright © 2018 MacOSX Guru Site
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.05 seconds