Re: Is there a way to "globally" #define some value as if it were in some main header file?
Re: Is there a way to "globally" #define some value as if it were in some main header file?
- Subject: Re: Is there a way to "globally" #define some value as if it were in some main header file?
- From: Gen Kiyooka <email@hidden>
- Date: Sat, 6 Aug 2005 12:23:56 -0700
Looks like your questions are getting into Xcode territory.
I suggest using xcode-list instead of Cocoa.
On Aug 6, 2005, at 10:58 AM, John Draper wrote:
Gen Kiyooka wrote:
A prefix file is a short file that will be included at the 'top'
of every
file in the build. It should be discussed in the docs.
Is this the same as the .pch file in the pre-compiled headers?
Or is this another file? You mentioned "docs" - could you send me
the URL of such docs?
I'm also getting conflicting information on when to use the .m vs
the .mm
suffix? do I use the .mm suffix when I want to declare a C++ Class
in the same file as an Obj C Class? And is it OK to use a .m suffix
if I just want to make calls to pre-existing C++ objects and methods
contained within a .dylib UNIX dynamic Library?
Most of the
Apple samples use a 'precompiled header' file with a .pch file
extension. Poke around in the samples.
I did - I see no correlation on when to use it, and when not to,
as well as I'm seeing conflicts in information I find in the Docs and
what people tell me.
I'm basiccally trying to use the "reSIProcate" SIP stack which is a
library
of SIP stack calls in C++.
I just built a project with the .dylib as one target, and a
SIPApplication
as the other target.
"Target settings"? Where? in the menu? what menu, what item?
I'm using X-Code 1.5 - are we talking about the same version?
I don't see a "Target settings"!!!!
Each project can have one or more 'Targets' associated with it.
Yea - I just figured that out. There is NO existing documentation
that
I can seethat explains how to use X-Code for multiple targets, unless
there is some unknown tech note I couldn't find because I didn't
know what
keyword to use in the search.
They are listed on the left side in the tree view, there. If you do
a 'Get Info' on a particular target it will show you the build
settings
for that target.
Is this where I would put the Precompiled Settings like the USE_ARES
flag I mentioned earlier.... Originally, I tried to use -
DUSE_ARES, and
that didn't work, but when I replaced it with USE_ARES=1, it worked.
I had NO IDEA I had to use that syntax, nor could I find ANY docs
that
says this is the right syntax - how the heck did YOU know to use this
syntax?
If you need to call for tech support, Apple is a better bet than me.
I use CodeWarrior mostly, and Xcode infrequently.
I see.
Also, there is an xcode mailing list.
yes - I'm on it - but (sigh) nobody ever replies to my queries.
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden