<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CMake][Win] Generating autoversion.h of WebKitGUID is triggered again and again"
   href="https://bugs.webkit.org/show_bug.cgi?id=156332">156332</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[CMake][Win] Generating autoversion.h of WebKitGUID is triggered again and again
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit Misc.
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Hironori.Fujii&#64;jp.sony.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>[CMake][Win] Generating autoversion.h of WebKitGUID is triggered again and again

In Source/WebKit/PlatformWin.cmake:

<span class="quote">&gt; add_custom_command(
&gt;     OUTPUT ${DERIVED_SOURCES_WEBKIT_DIR}/autoversion.h
&gt;     WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
&gt;     COMMAND ${PERL_EXECUTABLE} ${WEBKIT_LIBRARIES_DIR}/tools/scripts/auto-version.pl ${DERIVED_SOURCES_WEBKIT_DIR}
&gt;     VERBATIM)</span >

The output path is not ${DERIVED_SOURCES_WEBKIT_DIR}/autoversion.h, but ${DERIVED_SOURCES_WEBKIT_DIR}/include/autoversion.h.
Then Visual Studio thinks the output file deos not exist yet and trigger the command.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>