[PATCH] D32815: [clang-tidy][CMake] Make clang-tidy usable as distribution component

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 3 10:28:55 PDT 2017


phosek created this revision.
phosek added a project: clang-tools-extra.
Herald added subscribers: xazax.hun, mgorny.

Use add_clang_tool rather than add_clang_executable to support clang-tidy as a distribution component.


Repository:
  rL LLVM

https://reviews.llvm.org/D32815

Files:
  clang-tidy/tool/CMakeLists.txt


Index: clang-tidy/tool/CMakeLists.txt
===================================================================
--- clang-tidy/tool/CMakeLists.txt
+++ clang-tidy/tool/CMakeLists.txt
@@ -2,7 +2,7 @@
   support
   )
 
-add_clang_executable(clang-tidy
+add_clang_tool(clang-tidy
   ClangTidyMain.cpp
   )
 add_dependencies(clang-tidy


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32815.97683.patch
Type: text/x-patch
Size: 325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170503/2099a379/attachment.bin>


More information about the cfe-commits mailing list