[PATCH] D68429: [clang] [cmake] Use add_clang_tool() to install all tools
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 4 13:29:37 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL373785: [clang] [cmake] Use add_clang_tool() to install all tools (authored by mgorny, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D68429?vs=223108&id=223278#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68429/new/
https://reviews.llvm.org/D68429
Files:
cfe/trunk/tools/clang-check/CMakeLists.txt
cfe/trunk/tools/clang-extdef-mapping/CMakeLists.txt
cfe/trunk/tools/clang-offload-bundler/CMakeLists.txt
Index: cfe/trunk/tools/clang-extdef-mapping/CMakeLists.txt
===================================================================
--- cfe/trunk/tools/clang-extdef-mapping/CMakeLists.txt
+++ cfe/trunk/tools/clang-extdef-mapping/CMakeLists.txt
@@ -3,7 +3,7 @@
support
)
-add_clang_executable(clang-extdef-mapping
+add_clang_tool(clang-extdef-mapping
ClangExtDefMapGen.cpp
)
@@ -16,6 +16,3 @@
clangSerialization
clangTooling
)
-
-install(TARGETS clang-extdef-mapping
- RUNTIME DESTINATION bin)
Index: cfe/trunk/tools/clang-offload-bundler/CMakeLists.txt
===================================================================
--- cfe/trunk/tools/clang-offload-bundler/CMakeLists.txt
+++ cfe/trunk/tools/clang-offload-bundler/CMakeLists.txt
@@ -4,7 +4,7 @@
set(tablegen_deps intrinsics_gen)
endif()
-add_clang_executable(clang-offload-bundler
+add_clang_tool(clang-offload-bundler
ClangOffloadBundler.cpp
DEPENDS
@@ -21,5 +21,3 @@
PRIVATE
${CLANG_OFFLOAD_BUNDLER_LIB_DEPS}
)
-
-install(TARGETS clang-offload-bundler RUNTIME DESTINATION bin)
Index: cfe/trunk/tools/clang-check/CMakeLists.txt
===================================================================
--- cfe/trunk/tools/clang-check/CMakeLists.txt
+++ cfe/trunk/tools/clang-check/CMakeLists.txt
@@ -4,7 +4,7 @@
Support
)
-add_clang_executable(clang-check
+add_clang_tool(clang-check
ClangCheck.cpp
)
@@ -19,6 +19,3 @@
clangStaticAnalyzerFrontend
clangTooling
)
-
-install(TARGETS clang-check
- RUNTIME DESTINATION bin)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68429.223278.patch
Type: text/x-patch
Size: 1543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191004/d2f6967e/attachment.bin>
More information about the llvm-commits
mailing list