]> granicus.if.org Git - clang/commitdiff
[clang-refactor] Use add_clang_tool CMake template
authorPetr Hosek <phosek@chromium.org>
Wed, 25 Oct 2017 01:11:27 +0000 (01:11 +0000)
committerPetr Hosek <phosek@chromium.org>
Wed, 25 Oct 2017 01:11:27 +0000 (01:11 +0000)
This allows including clang-refactor in LLVM_DISTRIBUTION_COMPONENTS
to build clang-refactor as part of the toolchain distribution.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316540 91177308-0d34-0410-b5e6-96231b3b80d8

tools/clang-refactor/CMakeLists.txt

index a472c40878676e80a27038c2f56c63e24f755e4e..c20e83bacf5a3471e85f244889edf78eff467d06 100644 (file)
@@ -3,7 +3,7 @@ set(LLVM_LINK_COMPONENTS
   Support
   )
 
-add_clang_executable(clang-refactor
+add_clang_tool(clang-refactor
   ClangRefactor.cpp
   TestSupport.cpp
   )