<div dir="ltr">Since add_llvm_external_project turns off LLVM_TOOL_EXTRA_BUILD after it add the extra directory, this might be a problem if you run cmake twice without removing the CMakeCache.txt file (or blowing away the entire build directory).</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 14, 2015 at 8:36 AM, NAKAMURA Takumi via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm afraid LLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD might be OFF.<div><br></div><div>I think it'd be a bug if you had to turn it ON when you configured from clean tree. Let me know state of your build tree.</div></div><br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">On Mon, Sep 14, 2015 at 9:01 PM Paul Hoad via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">I'm sure I'm doing something wrong, but I cannot seem to get clang-extra-tools to generate vcxproj files for inclusion in the LLVM.sln without making the following change to CMakeList.txt in clang/tools/extra/tools<div><br></div><div>Is there some sort of option I should be passing to CMake to get the extra tools generated?</div><div><br></div><div>I'm currently using the following command to generate the sln/vcxproj files</div><div><br></div><div>cmake -DCLANG_ENABLE_STATIC_ANALYZER=ON -DBUILD_CLANG_FORMAT_VS_PLUGIN=ON -G "Visual Studio 12" ..\llvm</div><div><br></div><div>Paul<br><div><br></div><div><div>Index: CMakeLists.txt</div><div>===================================================================</div><div>--- CMakeLists.txt<span style="white-space:pre-wrap"> </span>(revision 247539)</div><div>+++ CMakeLists.txt<span style="white-space:pre-wrap"> </span>(working copy)</div><div>@@ -21,4 +21,5 @@</div><div> # on top of the Clang tooling platform. We keep them in a separate repository</div><div> # to keep the primary Clang repository small and focused.</div><div> # It also may be included by LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR.</div><div>-add_llvm_external_project(clang-tools-extra extra)</div><div>+#add_llvm_external_project(clang-tools-extra extra)</div><div>+add_subdirectory(extra)</div></div></div></div></div></div>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>