Another place to put #defines, besides MyApp_Prefix.pch?
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