Breaks with newer cmake and CMP0071
Thanks to the nice examples I used the add_custom_target(generator DEPENDS <file>)
approach.
Now I'm looking updating a slightly bigger project from cmake 3.8 to cmake 3.18 and cmake_policy(SET CMP0071 NEW)
which breaks it; the command now is executed in parallel.