[PATCH] D35017: [CMake] Use tools template for clangd and modularize

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 5 09:29:41 PDT 2017


phosek created this revision.
Herald added a subscriber: mgorny.

This makes them usable as distribution components in the toolchain build.


Repository:
  rL LLVM

https://reviews.llvm.org/D35017

Files:
  clangd/tool/CMakeLists.txt
  modularize/CMakeLists.txt


Index: modularize/CMakeLists.txt
===================================================================
--- modularize/CMakeLists.txt
+++ modularize/CMakeLists.txt
@@ -3,7 +3,7 @@
   Support
   )
 
-add_clang_executable(modularize
+add_clang_tool(modularize
   Modularize.cpp
   ModuleAssistant.cpp
   ModularizeUtilities.cpp
Index: clangd/tool/CMakeLists.txt
===================================================================
--- clangd/tool/CMakeLists.txt
+++ clangd/tool/CMakeLists.txt
@@ -1,6 +1,6 @@
 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
 
-add_clang_executable(clangd
+add_clang_tool(clangd
   ClangdMain.cpp
   )
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35017.105282.patch
Type: text/x-patch
Size: 635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170705/dbfeaabd/attachment.bin>


More information about the llvm-commits mailing list