[PATCH] D39522: [clang-rename] Use add_clang_tool

Shoaib Meenai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 1 18:12:11 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL317150: [clang-rename] Use add_clang_tool (authored by smeenai).

Repository:
  rL LLVM

https://reviews.llvm.org/D39522

Files:
  cfe/trunk/tools/clang-rename/CMakeLists.txt


Index: cfe/trunk/tools/clang-rename/CMakeLists.txt
===================================================================
--- cfe/trunk/tools/clang-rename/CMakeLists.txt
+++ cfe/trunk/tools/clang-rename/CMakeLists.txt
@@ -3,7 +3,7 @@
   Support
   )
 
-add_clang_executable(clang-rename ClangRename.cpp)
+add_clang_tool(clang-rename ClangRename.cpp)
 
 target_link_libraries(clang-rename
   clangBasic
@@ -14,8 +14,6 @@
   clangToolingRefactor
   )
 
-install(TARGETS clang-rename RUNTIME DESTINATION bin)
-
 install(PROGRAMS clang-rename.py
   DESTINATION share/clang
   COMPONENT clang-rename)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39522.121222.patch
Type: text/x-patch
Size: 593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171102/205428f1/attachment-0001.bin>


More information about the cfe-commits mailing list