[clang-tools-extra] r330509 - [clang-apply-replacements] Make clang-apply-replacements installable

Zinovy Nis via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 21 08:01:33 PDT 2018


Author: zinovy.nis
Date: Sat Apr 21 08:01:33 2018
New Revision: 330509

URL: http://llvm.org/viewvc/llvm-project?rev=330509&view=rev
Log:
[clang-apply-replacements] Make clang-apply-replacements installable

Add a new target for install: install-clang-apply-replacements.
So if you need clang-tidy and clang-apply-replacements tools only, 
you may build and install only these tools:

    make install-clang-tidy install-clang-apply-replacements

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


Modified:
    clang-tools-extra/trunk/clang-apply-replacements/tool/CMakeLists.txt

Modified: clang-tools-extra/trunk/clang-apply-replacements/tool/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-apply-replacements/tool/CMakeLists.txt?rev=330509&r1=330508&r2=330509&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-apply-replacements/tool/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/clang-apply-replacements/tool/CMakeLists.txt Sat Apr 21 08:01:33 2018
@@ -2,7 +2,7 @@ set(LLVM_LINK_COMPONENTS
   Support
   )
 
-add_clang_executable(clang-apply-replacements
+add_clang_tool(clang-apply-replacements
   ClangApplyReplacementsMain.cpp
   )
 target_link_libraries(clang-apply-replacements




More information about the cfe-commits mailing list