On Sat, Mar 24, 2007 at 12:54:33AM +0100, Peter Kümmel wrote: > Enrico Forestieri wrote: > > On Fri, Mar 23, 2007 at 11:48:21PM +0100, Peter Kümmel wrote: > > > >> Is the something like "configure --enable-final" for the auto tools? > >> This is what I've "reinvented" for cmake. > > > > What do you mean? Something like --release, perhaps? In this case, > > I don't think so, but --disable-debug, --disable-stdlib-debug, and > > --disable-assertions should produce a release ready binary. I think > > that these are the default for the distributed sources, whereas the > > --enable counterparts are the default for the svn version. > > > > NOW, I know that for KDE3 there is a "--enable-final" and for KDE4 > a "-DKDE4_ENABLE_FINAL=1" configure option which produces one file > per lib/bin, something like this: > > //autogenerated file > #include "C:/sandbox/lyx/trunk/src/insets/ExternalSupport.C" > #include "C:/sandbox/lyx/trunk/src/insets/ExternalTemplate.C" > #include "C:/sandbox/lyx/trunk/src/insets/ExternalTransforms.C" > #include "C:/sandbox/lyx/trunk/src/insets/inset.C" > #include "C:/sandbox/lyx/trunk/src/insets/insetbase.C" > #include "C:/sandbox/lyx/trunk/src/insets/insetbibitem.C" > #include "C:/sandbox/lyx/trunk/src/insets/insetbibtex.C" > #include "C:/sandbox/lyx/trunk/src/insets/insetbox.C" > #include "C:/sandbox/lyx/trunk/src/insets/insetbranch.C"
Something like this could be used explicitly (i.e. add a file with this contents to the sources). This way, all build systems could benefit at once. Andre'