diff options
author | Frans van Dorsselaer <frans.vandorsselaer@foxcrypto.com> | 2019-05-28 15:53:13 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-05-30 13:57:03 -0400 |
commit | 42bc67bd43ca67c98dc33f8cb8e2f4ee3884697f (patch) | |
tree | 1daa54a05775a5f07d85f9942c950d8c35ec0ab2 /Source/cm_static_string_view.hxx | |
parent | d03a6fc8578ac2b4191a74c8638d58b7f92ec6f1 (diff) | |
download | cmake-42bc67bd43ca67c98dc33f8cb8e2f4ee3884697f.tar.gz |
VS: De-duplicate custom command dependencies
Avoid listing the same input more than once in custom commands generated
in `.vcxproj` and `.csproj` files. In the case of a `.vcxproj` file
additionally avoid listing the source to which the command is attached
since it is already implicitly a dependency.
This is a nice cleanup and also works around a VS 2019 16.1 regression
in MSBuild dependency checking. Starting with that version, MSBuild now
re-builds custom commands when the list of dependencies has changed.
However, its check is confused by duplicate dependencies.
De-duplicating them avoids this problem.
Co-Author: Brad King <brad.king@kitware.com>
Fixes: #19303
Diffstat (limited to 'Source/cm_static_string_view.hxx')
0 files changed, 0 insertions, 0 deletions