title: Building Clang on Windows
body: <p>I'm trying to build LLVM/Clang on Windows 7 with Microsoft C++ 2013. Building LLVM spat out a few error messages along the way but mostly seemed to be succeeding and did end up creating a folder full of exe's so that part seems to have worked. When I try to build Clang:</p>
  
  <pre><code>C:\clang&gt;\CMake\bin\cmake.exe ..\clang-3.4 -DCLANG_PATH_TO_LLVM_BUILD=/llvm
  CMake Error at CMakeLists.txt:29 (message):
    Please set CLANG_PATH_TO_LLVM_BUILD to a directory containing a LLVM build.
  </code></pre>
  
  <p>And I get the same error message whether I omit CLANG_PATH_TO_LLVM_BUILD, define it in CMakeLists.txt or an environment variable instead of the command line, set it to possibly relevant subdirectories of /llvm etc.</p>
  
  <p>What am I missing?</p>