[PATCH] D145862: [LinkerWrapper] Switch to add_clang_tool() macro
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 13 10:43:44 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc2aabcfc8395: [LinkerWrapper] Switch to add_clang_tool() macro (authored by foutrelis, committed by jhuber6).
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145862/new/
https://reviews.llvm.org/D145862
Files:
clang/tools/clang-linker-wrapper/CMakeLists.txt
Index: clang/tools/clang-linker-wrapper/CMakeLists.txt
===================================================================
--- clang/tools/clang-linker-wrapper/CMakeLists.txt
+++ clang/tools/clang-linker-wrapper/CMakeLists.txt
@@ -1,5 +1,3 @@
-include(GNUInstallDirs)
-
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
BitWriter
@@ -27,7 +25,7 @@
set(tablegen_deps intrinsics_gen LinkerWrapperOpts)
endif()
-add_clang_executable(clang-linker-wrapper
+add_clang_tool(clang-linker-wrapper
ClangLinkerWrapper.cpp
OffloadWrapper.cpp
@@ -43,5 +41,3 @@
PRIVATE
${CLANG_LINKER_WRAPPER_LIB_DEPS}
)
-
-install(TARGETS clang-linker-wrapper RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145862.504749.patch
Type: text/x-patch
Size: 708 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230313/9f4e1e66/attachment.bin>
More information about the cfe-commits
mailing list