Would anyone be opposed to having cmMakefile::AddCustomCommandToTarget() throw an error in case the target does not exist? Currently this just silently fails without any diagnostics. I assume this wouldn't need a policy since there is no useful behavior here to preserve? Nils