On Thursday 11 May 2006 18:43, Reed Hedges wrote: > You're right, it wouldn't work well in Visual Studio for example. > Another way to do it is to AC_DEFINE the version numbers so they are > defined by the compiler with -D. The visual studio projects could also do > this. version.h would then remain as is, but without the #defines for the > version numbers.
Umm wouldn't make that version.h totally pointless? The whole point is that applications can do #if LIB3DS_IS_VERSION(1,3,0) // do normal stuff #else // do stuff differently, because lib3ds <= 1.3.0 was broken at this #endif Why have a version header if there's no version in it? > The goal is to avoid having 5 places where version numbers need to be > updated, because we will inevitably forget one or more of those places :) So why have a version in configure.in? > Reed CU Andi ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ lib3ds-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lib3ds-devel
