[clang-tools-extra] r307601 - [CMake] Use tools template for clangd and modularize

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 10 17:18:08 PDT 2017


Author: phosek
Date: Mon Jul 10 17:18:07 2017
New Revision: 307601

URL: http://llvm.org/viewvc/llvm-project?rev=307601&view=rev
Log:
[CMake] Use tools template for clangd and modularize

This makes them usable as distribution components in the build.

Differential Revision: https://reviews.llvm.org/D35017

Modified:
    clang-tools-extra/trunk/clangd/tool/CMakeLists.txt
    clang-tools-extra/trunk/modularize/CMakeLists.txt

Modified: clang-tools-extra/trunk/clangd/tool/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/tool/CMakeLists.txt?rev=307601&r1=307600&r2=307601&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/tool/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/clangd/tool/CMakeLists.txt Mon Jul 10 17:18:07 2017
@@ -1,6 +1,6 @@
 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
 
-add_clang_executable(clangd
+add_clang_tool(clangd
   ClangdMain.cpp
   )
 

Modified: clang-tools-extra/trunk/modularize/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/modularize/CMakeLists.txt?rev=307601&r1=307600&r2=307601&view=diff
==============================================================================
--- clang-tools-extra/trunk/modularize/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/modularize/CMakeLists.txt Mon Jul 10 17:18:07 2017
@@ -3,7 +3,7 @@ set(LLVM_LINK_COMPONENTS
   Support
   )
 
-add_clang_executable(modularize
+add_clang_tool(modularize
   Modularize.cpp
   ModuleAssistant.cpp
   ModularizeUtilities.cpp




More information about the cfe-commits mailing list