<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 warnings when configuring without static analyzer and arcmt"
   href="http://llvm.org/bugs/show_bug.cgi?id=21996">21996</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>cmake warnings when configuring without static analyzer and arcmt
          </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>normal
          </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>sami.liedes@iki.fi
          </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>When configuring llvm (with clang and compiler-rt) using

  cmake $srcdir -DCMAKE_BUILD_TYPE="RelWithDebInfo"
-DCMAKE_INSTALL_PREFIX=$installprefix -DLLVM_ENABLE_ASSERTIONS=ON
-DCLANG_ENABLE_STATIC_ANALYZER=OFF -DCLANG_ENABLE_ARCMT=OFF -GNinja

the following CMake warnings are issued (the build still seems to work fine):

-- Configuring done
CMake Warning (dev) at cmake/modules/AddLLVM.cmake:725 (add_dependencies):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target "clang-check" of target "check-all" does not exist.
Call Stack (most recent call first):
  CMakeLists.txt:605 (add_lit_target)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/modules/AddLLVM.cmake:725 (add_dependencies):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target "clang-check" of target "check-clang" does not exist.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:750 (add_lit_target)
  tools/clang/test/CMakeLists.txt:65 (add_lit_testsuite)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done</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>