trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: October 2010

Re: [trinity-devel] question about building trinity from scratch

From: Serghei Amelian <serghei@...>
Date: Sat, 2 Oct 2010 23:41:42 +0300
On Saturday 02 October 2010 22:13:55 Timothy Pearson wrote:
[...]

> I do not know what enable-final does.

http://developer.kde.org/documentation/other/developer-faq.html

--enable-final:
Concatenates all .cpp files into one big .all_cpp.cpp file, and compiles it in 
one go, instead of compiling each .cpp file on its own. This makes the whole 
compilation much faster, and often leads to better optimised code, but it 
also requires much more memory. And it often results in compilation errors 
when headers included by different source files clash one with the other, or 
when using c static functions with the same name in different source files.
This is a good thing to do at packaging time, but of course not for 
developers, since a change in one file means recompiling everything.

> Tim

-- 
Serghei