Andre Poenitz wrote:
On Sat, Mar 24, 2007 at 10:55:58PM +0100, Abdelrazak Younes wrote:
Angus Leeming wrote:
Andre Poenitz <[EMAIL PROTECTED]> writes:
Each time I try to get back to work on LyX I am appalled by the
time it takes to compile and link.
Agreed.
Testcase is src/graphics. Pretty selfcontained, modern C++ the
way we like it. A total of 2608 lines in 11 *.C files.
Now, cp *.C Graphics.C, adjust Makefile.am
It seems to me that multiple .C files are an aid to humans. I find it much
easier to navigate such a setup. I suspect I'm not alone.
Count me in. The one class/one file mantra is good IMHO.
We found a method to stay with a class per file and still have
larger compilation units.
Good :-)
Given that your solution to the problems that the compiler has with these
11 files is so simple, why don't we introduce a new rule to the makefile
to do just as you suggest? Ie, let the makefile perform the concatenation?
This may be truly hard with Automake, but it's surely do-able with scons.
Personally I think that compilation with CMake/MSVC8 is very fine...
Still, MSVC8 doesn't run on *nix.
Maybe with wine? :-)
My point is that CMake generated Makefiles are probably faster than
autotools generated ones. Maybe there's something wrong with autotools
and the use of libtool for each and every file?
Abdel.