[cmake-developers] CMake master slowdown in generation step

Brad King brad.king at kitware.com
Fri Apr 4 11:35:48 EDT 2014


On 04/04/2014 11:13 AM, Stephen Kelly wrote:
> The Ninja generator was much slower than the Makefiles generator. I pushed 
> the optimize-source-file-processing topic with a commit which should fix the 
> major problem with Ninja. I'll see if there is more opportunity for 
> optimizing/caching though in general.

I see this commit in that topic:

 Ninja: Query custom commands once per target, not once per file.
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6c202d15

Nils, your example just had a lot of source files but no custom
commands.  Is the slowdown observable with Makefile generators?

Thanks,
-Brad




More information about the cmake-developers mailing list