• 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
Re: Another place to put #defines, besides MyApp_Prefix.pch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another place to put #defines, besides MyApp_Prefix.pch?


  • Subject: Re: Another place to put #defines, besides MyApp_Prefix.pch?
  • From: Steve Checkoway <email@hidden>
  • Date: Thu, 22 Feb 2007 16:27:48 -0800

Jerry Krinock wrote:

Now, I have a need to #define a compile-time variable in ONE project only.
I cannot do it in the source code files, because these files are used in
multiple projects.  I cannot do it in MyFramework_Prefix.pch, because it is
the Prefix Header for all my projects.  Where can I put this #define?

Stick it in the particular project (or target) setting in Xcode. I forget exactly what the setting is, but it should be easy enough to find under Preprocessor, or some such.


--
Steve Checkoway


_______________________________________________ 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
References: 
 >Another place to put #defines, besides MyApp_Prefix.pch? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Another place to put #defines, besides MyApp_Prefix.pch?
  • Next by Date: Re: Another place to put #defines, besides MyApp_Prefix.pch?
  • Previous by thread: Re: Another place to put #defines, besides MyApp_Prefix.pch?
  • Next by thread: Templates question
  • Index(es):
    • Date
    • Thread