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

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


  • Subject: Another place to put #defines, besides MyApp_Prefix.pch?
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 22 Feb 2007 15:50:46 -0800
  • Thread-topic: Another place to put #defines, besides MyApp_Prefix.pch?

I've written a framework which I use in several applications.  This
framework has a MyFramework_Prefix.pch in which I define macros and other
cool stuff that I like to use.  The targets of all my projects have their
Prefix Header Build Setting set to MyFramework_Prefix.pch.

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?

(I tried three guesses at a syntax in a .pch file which would allow me to
"include" other .pch files, but none of them worked.)

Thanks,

Jerry Krinock


 _______________________________________________
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

  • Follow-Ups:
    • Re: Another place to put #defines, besides MyApp_Prefix.pch?
      • From: Steve Checkoway <email@hidden>
    • Re: Another place to put #defines, besides MyApp_Prefix.pch?
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: template C++ mailing lists
  • Next by Date: Re: Another place to put #defines, besides MyApp_Prefix.pch?
  • Previous by thread: Re: project find panel toolbar disappeared
  • Next by thread: Re: Another place to put #defines, besides MyApp_Prefix.pch?
  • Index(es):
    • Date
    • Thread