I have a fairly complicated project with lots of dependencies and custom targets and commands. I’m getting some rebuilds, and until now they have all been proven to be right after analysis; but it is never easy to confirm it, and we loose quite a time on checking them.
Is there a way to ask cmake to print the cause of rebuild? something like “rebuilding because dependency changed”?
I have checked the debug prints, but they are not that useful.