[CMake] Assign large C++ source to separate ninja pool

Konstantin Tokarev annulen at yandex.ru
Sat Apr 23 15:33:05 EDT 2016


Hello,

In Ninja documentation on pools feature there is an example of separate heavy_object_pool [1]. Is it possible to use this feature with cmake?

Use case is to avoid parallel compilation of N large sources, while compilation of 1 large and N-1 small sources is OK.

[1] https://ninja-build.org/manual.html#ref_pool

-- 
Regards,
Konstantin


More information about the CMake mailing list