A question about libraries and frameworks
A question about libraries and frameworks
- Subject: A question about libraries and frameworks
- From: email@hidden
- Date: Wed, 6 Aug 2003 10:37:23 +0100
Hi all,
Not sure which is the best list for this post so I'll try usb and cocoa-dev
first.
I have developed a framework and a static library from the same code base
for accessing a usb device from Carbon/Cocoa apps.
The Framework is built to be copied into the application bundle
(INSTALL_PATH="@executable_path/../Frameworks"
The Library in order to link requires the IOKit Framework included in the
Carbon/Cocoa app project.
My question is:
Is it possible to pre-reference the Framework in the static library
project causing it to be automatically linked when linking the library?
maybe with a #pragma or similar?
In my Windows development I am able to do this with libraries using a
#pragma lib directive.
I'm sure my customer won't mind adding the IOKit framework if they choose to
use the library, but they will only know to do this if they read the manual,
and we all know how rarely that happens before the support calls come in.
TIA
Alun Carp
Driver Development Team Leader
Data Encryption Systems Limited
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.