From: Petr Hosek Date: Wed, 25 Oct 2017 01:11:27 +0000 (+0000) Subject: [clang-refactor] Use add_clang_tool CMake template X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74154ad51df98d68aaa721ed57f02fb13deeec9a;p=clang [clang-refactor] Use add_clang_tool CMake template 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 --- diff --git a/tools/clang-refactor/CMakeLists.txt b/tools/clang-refactor/CMakeLists.txt index a472c40878..c20e83bacf 100644 --- a/tools/clang-refactor/CMakeLists.txt +++ b/tools/clang-refactor/CMakeLists.txt @@ -3,7 +3,7 @@ set(LLVM_LINK_COMPONENTS Support ) -add_clang_executable(clang-refactor +add_clang_tool(clang-refactor ClangRefactor.cpp TestSupport.cpp )