<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>198850</bug_id>
          
          <creation_ts>2019-06-13 21:32:35 -0700</creation_ts>
          <short_desc>[CMake][Win] WTF_CopyHeaders copies files everytime in incremental builds if Visual Studio generator is used</short_desc>
          <delta_ts>2019-06-27 06:50:03 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CMake</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1544679</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-06-13 21:32:35 -0700</bug_when>
    <thetext>[CMake][Win] WTF_CopyHeaders copies files everytime in incremental builds if Visual Studio generator is used</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1544680</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-06-13 21:34:40 -0700</bug_when>
    <thetext>I&apos;m using CMake 3.14.
Ninja generator doesn&apos;t have this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1544685</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-06-13 22:11:53 -0700</bug_when>
    <thetext>This seems Visual Studio 2019 issue.

Visual Studio 2019 16.1: NG
Visual Studio 2017 15.7.6: OK</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1544692</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-06-13 22:50:54 -0700</bug_when>
    <thetext>It seems that this issue has been fixed. But, I can&apos;t find a entry in release notes.

Visual Studio 2019 16.1.3: OK</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1544696</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-06-13 23:16:51 -0700</bug_when>
    <thetext>My coworker is still having this issue even with Visual Studio 2019 16.1.3.

Hmm, it seems that this issue can&apos;t be reproducible on my PC now.
It is irrelevant to Visual Studio versions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548420</commentid>
    <comment_count>5</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-06-27 02:48:16 -0700</bug_when>
    <thetext>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&apos;m using CMake 3.14.5 (My CMake was automatically upgraded by Chocolatey).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548469</commentid>
    <comment_count>6</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-06-27 06:50:03 -0700</bug_when>
    <thetext>https://blog.kitware.com/cmake-3-14-5-available-for-download/

&gt; 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,</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>