How to specify user defined flags.

Jump to First Reply
Posted:
in macOS edited January 2014
Hi,



can anybody tell me how to specify user defined flags in XCode as we specify in Make file through "CFLAGS" under linux?



Any pointer/Ref?



thanx in advance

Comments

  • Reply 1 of 1
    lundylundy Posts: 4,466member
    Quote:

    Originally posted by Stuart

    Hi,



    can anybody tell me how to specify user defined flags in XCode as we specify in Make file through "CFLAGS" under linux?



    Any pointer/Ref?



    thanx in advance




    You mean compiler flags? Choose "Xcode Help" from the Help menu in Xcode, then type "Compiler Flags" into the search box and hit Return.



    There are a huge number of compiler and linker flags you can set, and the hard part is figuring out whether to set them per-file or per-build, and which build settings (Development or Deployment) to add the flags to. Best to read the blurb at the Help pages so you understand where to set the flags.
     0Likes 0Dislikes 0Informatives
Sign In or Register to comment.