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" .... This is a better way of my "merging of files". It should also be possible with the auto tools, maybe it is worth to have a look at the auto scripts of kde3. I assume building would also be -at least two times- faster with cygwin. ;) Peter