[cfe-dev] Building clang-extra-tools in visual studio

NAKAMURA Takumi via cfe-dev cfe-dev at lists.llvm.org
Mon Sep 14 05:36:47 PDT 2015


I'm afraid LLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD might be OFF.

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.

On Mon, Sep 14, 2015 at 9:01 PM Paul Hoad via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> 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
>
> Is there some sort of option I should be passing to CMake to get the extra
> tools generated?
>
> I'm currently using the following command to generate the sln/vcxproj files
>
> cmake -DCLANG_ENABLE_STATIC_ANALYZER=ON -DBUILD_CLANG_FORMAT_VS_PLUGIN=ON
> -G "Visual Studio 12" ..\llvm
>
> Paul
>
> Index: CMakeLists.txt
> ===================================================================
> --- CMakeLists.txt (revision 247539)
> +++ CMakeLists.txt (working copy)
> @@ -21,4 +21,5 @@
>  # on top of the Clang tooling platform. We keep them in a separate
> repository
>  # to keep the primary Clang repository small and focused.
>  # It also may be included by LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR.
> -add_llvm_external_project(clang-tools-extra extra)
> +#add_llvm_external_project(clang-tools-extra extra)
> +add_subdirectory(extra)
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150914/0fa3b716/attachment.html>


More information about the cfe-dev mailing list