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

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


This revision was automatically updated to reflect the committed changes.
Closed by commit rL307601: [CMake] Use tools template for clangd and modularize (authored by phosek).

Changed prior to commit:
  https://reviews.llvm.org/D35017?vs=105282&id=105944#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D35017

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


Index: clang-tools-extra/trunk/modularize/CMakeLists.txt
===================================================================
--- clang-tools-extra/trunk/modularize/CMakeLists.txt
+++ clang-tools-extra/trunk/modularize/CMakeLists.txt
@@ -3,7 +3,7 @@
   Support
   )
 
-add_clang_executable(modularize
+add_clang_tool(modularize
   Modularize.cpp
   ModuleAssistant.cpp
   ModularizeUtilities.cpp
Index: clang-tools-extra/trunk/clangd/tool/CMakeLists.txt
===================================================================
--- clang-tools-extra/trunk/clangd/tool/CMakeLists.txt
+++ clang-tools-extra/trunk/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.105944.patch
Type: text/x-patch
Size: 779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170711/2587365f/attachment.bin>


More information about the llvm-commits mailing list