framework bundle magic??

framework bundle magic??

Post by hoyt » Thu, 28 Aug 2003 01:56:24


I have a framework that has an optimized and a debug target. At this
point I have them going to two separate framework bundles.

Is there a way to have CW build one framework bundle that has the
optimized and debug versions of my framework?

From what I can tell, CW uses the Framework Name from the PPC Mac OS X
Target panel to name the framework bundle AND the name of the target
output.

So if I have
Framework Name: myFrameWork.framework
Framework Version: A

I'd get a bundle like this:
myFramework.framework
Versions
A
myFrameWork

There doesn't seem to be a way to have two targets with the same
Framework Name but different output names.

I'd like to wind up with:
myFramework.framework
Versions
A
myFrameWork
myFrameWork_debug

Do I have to build this bundle by hand or is there an other way to get
CW to do this for me?
 
 
 

framework bundle magic??

Post by MW Ro » Fri, 29 Aug 2003 06:36:32

In article < XXXX@XXXXX.COM >,



A guess is that to do this you would build the debug framework as a
plain dylib (with out the ".dylib" extension on the file name), and then
let the full build of the framework copy the build library into the
package. (The installation path would need to be setup so it knows where
it is going to be installed).

I have never tried this so I don't know for sure if it would work.

Ron

--
CodeWarrior Development Studio for Macintosh v9
Enhance Your Productivity and Shorten your Development Cycles
< http://www.yqcomputer.com/ ;
Sales and Support 512-996-5300 800-377-5416
Ron Liechty - XXXX@XXXXX.COM - http://www.yqcomputer.com/