[cmake-developers] [PATCH] Ninja: Optionally skip library dependencies for object targets

Matthias Männich matthias at maennich.net
Mon Mar 14 19:39:44 EDT 2016


Hi,

this is a patch that we use since some time for a quite large in-house
project. The idea behind is to increase build parallelism by omitting
dependencies of object file targets to the libraries they will be linked
with in a later step. As this is not always the desired behaviour the
default remains untouched and the setting can be changed globally and per
target.

We found this functionality quite useful, especially in combination with
build clusters like icecream or distcc.
I recently got asked by another project to bring this upstream.

Thanks for consideration!

Best regards,

Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160314/6c2833cb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Ninja-Optionally-skip-library-dependencies-for-objec.patch
Type: text/x-patch
Size: 15187 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160314/6c2833cb/attachment-0001.bin>


More information about the cmake-developers mailing list