Hey All, I've got a framework (GDKit) that I maintain - started writing it on 10.5. I'm running into something I'm not sure how to handle.
-So far, everything I've been writing in GDKit links against 10.5, and applications I've been writing link against GDKit, and 10.5. -I have some new classes I want to add to the framework, but some of the API's are in 10.6 only. -The new classes and features in my framework are optional - because they require 10.6, but I don't want to have to change all of my applications to require 10.6. What I'm trying to figure out is how to keep the framework compiling for 10.5, but optionally including the new features/classes when it's compiling for 10.6. There's just a few things I'm unclear of.. -When it's compiling for 10.5, can I completely exclude files from compiling (the 10.6 features)? Is that the right way to exclude features? -When I link against GDKit from an application, how can I have the app link against GDKit that include only the 10.5 features? Or optionally link against the build that includes the 10.6 features? I've been reading about framework versioning, and what they recommend is creating a new major version. But that doesn't really help my problem - as creating a new major version would require the 10.6 SDK. Hopefully that makes sense. Does anyone know of any blog posts or tutorials about this particular situation? Any ideas would be sweet. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com