[cfe-dev] Building clang-extra-tools in visual studio
don hinton via cfe-dev
cfe-dev at lists.llvm.org
Mon Sep 14 05:59:28 PDT 2015
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
On Mon, Sep 14, 2015 at 8:36 AM, NAKAMURA Takumi via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> 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
>> 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
>> cmake -DCLANG_ENABLE_STATIC_ANALYZER=ON -DBUILD_CLANG_FORMAT_VS_PLUGIN=ON
>> -G "Visual Studio 12" ..\llvm
>> 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
>> # 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)
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev