From: Foster T. B. <fbr...@ad...> - 2005-03-24 18:08:44
|
All, ADOBE_SERIALIZATION is a flag we us to turn on/off all uses of operator << in the ASL. Something you'd be able to do with it on would be: adobe::value_t foo(5); std::cout << foo << std::endl; // prints out 5 There are also some iostream manipulators (iomanip and all the related sources) that are used in Adobe Begin to get pdf-like output when the user hits the OK button (on Mac, anyways). The reason there is a switch is because we are not convinced the code is quite ready for full inclusion into the ASL, however it provides enough useful functionality for Adobe Begin that we didn't want to pull it all together. asl_lib_dev is the "development" version of the ASL. It is intended for use when clients are developing their application, giving them features they might find helpful in debugging their code. asl_lib is the "release" version of ASL, and the one we recommend final binaries be linking to. A question was raised a while back that we should just have one project with four targets, but decided against it as we wanted to keep serialization as completely separate as possible. To test this, Adobe Begin has four built targets: debug, release, debug (dev) and release (dev). The release targets are highly optimized, and the (dev) targets are linking to asl_lib_dev and have serialization set. I hope this clears some things up. Blessings, Foster On Mar 23, 2005, at 07:59p, David Catmull wrote: > On Mar 23, 2005, at 6:34 PM, Ralph Thomas wrote: >> (the asl_lib_dev has >> ADOBE_SERIALIZED defined for all objects, but asl_lib does not) > > I'm not quite clear on the significance of this, and why there are two > separate libraries. > > -- > David Catmull > unc...@un... > http://www.uncommonplace.com/ > > > > ------------------------------------------------------- > This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon > 2005 > Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows > Embedded(r) & Windows Mobile(tm) platforms, applications & content. > Register > by 3/29 & save $300 > http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click > _______________________________________________ > Adobe-source-devel mailing list > Ado...@li... > https://lists.sourceforge.net/lists/listinfo/adobe-source-devel > > -- Foster T. Brereton <}}}>< Romans 3:21-26 A d o b e S o f t w a r e T e c h n o l o g y L a b "What 99 percent of programmers need to know is not how to build components but how to use them." -- Alexander Stepanov |