CMake's autogen triggers warning for CMP0116
With a trivial Qt project that uses AUTOMOC in a subdirectory, the policy warning for CMP0116 gets triggered by the autogen code. After inserting a bit of debugging output (because the policy warning doesn't tell you what target or dependency triggers the warning), it is being triggered when the depfile
is <targetName>_autogen/deps
and the customStep
will be timestamp-<someHash>
(depfile
and customStep
refer to variables in cmLocalNinjaGenerator.cxx
around here).
CMake's autogen should be able to construct the Ninja dependencies without triggering CMP0116.
Cc: @kyle.edwards