Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / August 2003



Tip: Looking for answers? Try searching our database.

framework bundle magic??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin Hoyt - 26 Aug 2003 17:56 GMT
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?
MW Ron - 27 Aug 2003 22:36 GMT
>I have a framework that has an optimized and a debug target.  At this
>point I have them going to two separate framework bundles.
[quoted text clipped - 28 lines]
>Do I have to build this bundle by hand or is there an other way to get
>CW to do this for me?

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

Signature

        CodeWarrior Development Studio for Macintosh v9
Enhance Your Productivity and Shorten your Development Cycles
                <http://store.metrowerks.com/>
       Sales and Support 512-996-5300   800-377-5416    
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.