[cmake-developers] Silent failure of attaching custom commands to non existing target

Nils Gladitz nilsgladitz at gmail.com
Tue Nov 19 11:48:48 EST 2013


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



More information about the cmake-developers mailing list