[Lldb-commits] [PATCH] D143024: [lldb] Use ${CMAKE_COMMAND} -E remove instead of remove_directory
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 31 15:34:54 PST 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9f8fd57cb663: [lldb] Use ${CMAKE_COMMAND} -E remove instead of remove_directory (authored by JDevlieghere).
Herald added a project: LLDB.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143024/new/
https://reviews.llvm.org/D143024
Files:
lldb/cmake/modules/AddLLDB.cmake
Index: lldb/cmake/modules/AddLLDB.cmake
===================================================================
--- lldb/cmake/modules/AddLLDB.cmake
+++ lldb/cmake/modules/AddLLDB.cmake
@@ -246,10 +246,8 @@
# Create a custom target to remove the copy again from LLDB.framework in the
# build tree.
- # Intentionally use remove_directory because the target can be a either a
- # file or directory and using remove_directory is harmless for files.
add_custom_target(${name}-cleanup
- COMMAND ${CMAKE_COMMAND} -E remove_directory ${copy_dest}
+ COMMAND ${CMAKE_COMMAND} -E remove ${copy_dest}
COMMENT "Removing ${name} from LLDB.framework")
add_dependencies(lldb-framework-cleanup
${name}-cleanup)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143024.493754.patch
Type: text/x-patch
Size: 723 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230131/f60772c5/attachment.bin>
More information about the lldb-commits
mailing list