From: Patrick H. <pat...@us...> - 2006-07-13 13:25:41
|
patrickh 2006/07/13 06:25:41 PDT Modified files: cppdom config.h version.h Log: Implemented automatic linking when building with Visual C++. Unlike other projects' use of automatic linking, this feature is optional. It is enabled by defining CPPDOM_AUTO_LINK and/or CPPDOM_DYN_LINK. If CPPDOM_AUTO_LINK is defined without CPPDOM_DYN_LINK, then the static version of the debug or release library is used for linking. Otherwise, the dynamic version is used. The reason that I made this optional is largely for backwards compatibility with existing uses of CppDOM. If automatic linking were not optional, a user-level build that was not updated to define CPPDOM_DYN_LINK would end up linking against both the static and dynamic library, thus resulting in multiply defined symbols at link time. Removing the test to determine if CPPDOM_AUTO_LINK is defined would result in this library behaving the way that all others that I have seen that use automatic linking. Bumped version to 0.7.6. Revision Changes Path 1.14 +39 -3 cppdom/cppdom/config.h 1.25 +3 -3 cppdom/cppdom/version.h http://xml-cppdom.cvs.sourceforge.net/xml-cppdom/cppdom/cppdom/config.h.diff?r1=1.13&r2=1.14&diff_format=h http://xml-cppdom.cvs.sourceforge.net/xml-cppdom/cppdom/cppdom/version.h.diff?r1=1.24&r2=1.25&diff_format=h |