Skip to content

VS: Restore CMakeLists.txt references in each target

Brad King requested to merge brad.king/cmake:vs-CMakeLists.txt into master

The custom command de-duplication added by !1889 (merged) accidentally also applied to the CMakeLists.txt file reference we put in each target. This file reference comes with a custom command that has no dependencies and that is safe to run repeatedly across multiple targets (via internal stamp checking). Therefore it should be excluded from the de-duplication so that CMakeLists.txt references appear in all targets for human reference.

Fixes: #18310 (closed)

Merge request reports