[PATCH] D45160: [clang-apply-replacements] Make clang-apply-replacements installable

Zinovy Nis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 2 05:26:43 PDT 2018


zinovy.nis created this revision.
Herald added subscribers: cfe-commits, mgorny.

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


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D45160

Files:
  clang-apply-replacements/tool/CMakeLists.txt


Index: clang-apply-replacements/tool/CMakeLists.txt
===================================================================
--- clang-apply-replacements/tool/CMakeLists.txt
+++ clang-apply-replacements/tool/CMakeLists.txt
@@ -2,7 +2,7 @@
   Support
   )
 
-add_clang_executable(clang-apply-replacements
+add_clang_tool(clang-apply-replacements
   ClangApplyReplacementsMain.cpp
   )
 target_link_libraries(clang-apply-replacements


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45160.140616.patch
Type: text/x-patch
Size: 427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180402/37a5b23e/attachment.bin>


More information about the cfe-commits mailing list