<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </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 build doesn't have handy "make update""
   href="http://llvm.org/bugs/show_bug.cgi?id=19235">19235</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>CMake build doesn't have handy "make update"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>cmake
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>romankashicin@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=12274" name="attach_12274" title="Patch for cmake build to provide "make update" functionality">attachment 12274</a> <a href="attachment.cgi?id=12274&action=edit" title="Patch for cmake build to provide "make update" functionality">[details]</a></span>
Patch for cmake build to provide "make update" functionality

It's possible to update the llvm project and all the subprojects with simple

  make update

I can't find similar functionality for the CMake build. Executing "make update"
in the root directory produces

  Makefile:44: Makefile.config: No such file or directory
  Makefile:146: /Makefile.rules: No such file or directory
  make: *** No rule to make target `/Makefile.rules'.  Stop.

Please find portable (I hope) CMake module providing exactly this functionality
attached. I've tested "make update" on CMake-generated Makefile on linux and it
works just fine for me. I have no chance to test it on Windows.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>