Skip to content

VS: Avoid unnecessary duplication of custom commands across targets in VS 9

Brad King requested to merge brad.king/cmake:vs9-custom-command-dedup into master

Do not attach a custom command to a target if it is already attached to one of the target's dependencies. The command's output will be available by the time the target needs it because the dependency containing the command will have already been built.

The same change was already made by !1889 (merged) for VS 10+.

Merge request reports