Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting up weak-linking in Xcode, as described in TN2064



Hi. I've just read TN2064, http://developer.apple.com/technotes/tn2002/tn2064.html . I'd like to set up weak-linking in my app, but I'm not clear on where to set some of the variables.

I have my Carbon app project, and it links against another project (a C ++ application framework) that produces a statically-linked library. Both projects share a single .xcconfig file.

Can set things in the .xcconfig like MAC_OS_X_VERSION_MIN_REQUIRED? Does Xcode automatically define build settings in as preprocessor macros in the source, too?

Really I'm asking, how do I configure my Xcode project(s) to weak-link 10.5 APIs and hard-link 10.4 and earlier?

TIA,

--
Rick

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.