Enrico Forestieri wrote:
> 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:
> 
> You can define whatever options with autotools using AC_ARG_ENABLE.
> Have a look at config/lyxinclude.m4 for usage examples.

I mean the auto process should produce such files, not only set
the variables.

> 
>> //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. ;)
> 
> I feel like crying when I hear about full compile times below
> the hour ;)
> 

The fastest full compile takes here (2GHz, 1core, 512MB)
3 min 40 sec ;)

Peter


Reply via email to