RESOLVED WORKSFORME 198850
[CMake][Win] WTF_CopyHeaders copies files everytime in incremental builds if Visual Studio generator is used
https://bugs.webkit.org/show_bug.cgi?id=198850
Summary [CMake][Win] WTF_CopyHeaders copies files everytime in incremental builds if ...
Fujii Hironori
Reported 2019-06-13 21:32:35 PDT
[CMake][Win] WTF_CopyHeaders copies files everytime in incremental builds if Visual Studio generator is used
Attachments
Fujii Hironori
Comment 1 2019-06-13 21:34:40 PDT
I'm using CMake 3.14. Ninja generator doesn't have this issue.
Fujii Hironori
Comment 2 2019-06-13 22:11:53 PDT
This seems Visual Studio 2019 issue. Visual Studio 2019 16.1: NG Visual Studio 2017 15.7.6: OK
Fujii Hironori
Comment 3 2019-06-13 22:50:54 PDT
It seems that this issue has been fixed. But, I can't find a entry in release notes. Visual Studio 2019 16.1.3: OK
Fujii Hironori
Comment 4 2019-06-13 23:16:51 PDT
My coworker is still having this issue even with Visual Studio 2019 16.1.3. Hmm, it seems that this issue can't be reproducible on my PC now. It is irrelevant to Visual Studio versions.
Fujii Hironori
Comment 5 2019-06-27 02:48:16 PDT
VS 2019 16.1 rebuilds add_custom_command files every time (#19303) · Issues · CMake / CMake · GitLab https://gitlab.kitware.com/cmake/cmake/issues/19303 This issue was fixed in CMake 3.14.5. I'm using CMake 3.14.5 (My CMake was automatically upgraded by Chocolatey).
Fujii Hironori
Comment 6 2019-06-27 06:50:03 PDT
https://blog.kitware.com/cmake-3-14-5-available-for-download/ > The Visual Studio 2019 16.1 update introduced a regression in MSBuild’s evaluation of custom command dependencies causing them to re-run on every build. CMake 3.14.5 includes a workaround,
Note You need to log in before you can comment on or make changes to this bug.