[PATCH] D39266: [clang-refactor] Use add_clang_tool CMake template

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 24 17:24:11 PDT 2017


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

This allows including clang-refactor in LLVM_DISTRIBUTION_COMPONENTS
to build clang-refactor as part of the toolchain distribution.


Repository:
  rL LLVM

https://reviews.llvm.org/D39266

Files:
  tools/clang-refactor/CMakeLists.txt


Index: tools/clang-refactor/CMakeLists.txt
===================================================================
--- tools/clang-refactor/CMakeLists.txt
+++ tools/clang-refactor/CMakeLists.txt
@@ -3,7 +3,7 @@
   Support
   )
 
-add_clang_executable(clang-refactor
+add_clang_tool(clang-refactor
   ClangRefactor.cpp
   TestSupport.cpp
   )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39266.120155.patch
Type: text/x-patch
Size: 338 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171025/77b9afb4/attachment-0001.bin>


More information about the cfe-commits mailing list