• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
appending C flags
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

appending C flags


  • Subject: appending C flags
  • From: Marc Poirier <email@hidden>
  • Date: Tue, 10 Aug 2004 12:53:57 -0400

I am having trouble appending C flags to a build style. What I want is for:

-D NDEBUG

to be added to the "Other C Flags" for the Deployment build style but not Development build style. But I still want all of the "Other C Flags" that I have defined for the target in general to be used, too. So I just want -D NDEBUG to be added on to the list of other flags.

In Project Builder, there was an explicit way to do this. In the build settings view, you could click on the = between the build option and value and it would turn into a += to mean that you were appending a value. In Xcode, I've never found a way to do this. However, at least in 1.2, the behavior seemed to be what I wanted for "Other C Flags", it seemed to be appending. In Xcode 1.5, however, the value that I set in the Deployment style is wiping out what I set for the target in general rather than adding to it.

Does anyone know if this is just a change in 1.5 that I can't do anything about, or if there is some way to specify that I want my C flags appended?

thanks,
Marc
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: appending C flags
      • From: Anders Bertelrud <email@hidden>
    • Re: appending C flags
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Dynamic file structure
  • Next by Date: Xcode can't open .php file?
  • Previous by thread: CVS and Subversion - How to handle Resource fork files
  • Next by thread: Re: appending C flags
  • Index(es):
    • Date
    • Thread