[cmake-developers] Explicit custom command BYPRODUCTS

Adam Strzelecki ono at java.pl
Wed Mar 18 13:41:17 EDT 2015


> IIUC the remaining issue is that for in-source builds all the
> custom command dependencies on source files now get phony
> rules.  We need a policy to drop this behavior altogether and
> ask that projects explicitly specify their BYPRODUCTS.
> Correct?

Yes that is correct.

And this is the case of ReactOS, they are perfectly sure they do not have any side-effect, they do not need these extra rules, yet there is no mechanism to avoid them. As a result Ninja crashes because it has simply too big build graph.

-- Adam


More information about the cmake-developers mailing list