[Lldb-commits] [lldb] [lldb] Use file(MAKE_DIRECTORY) to create header staging dir (PR #228606)
Yao Qi via lldb-commits
lldb-commits at lists.llvm.org
Sun Oct 4 12:48:22 PDT 2026
================
@@ -295,13 +295,7 @@ file(GLOB root_public_headers ${LLDB_SOURCE_DIR}/include/lldb/lldb-*.h)
file(GLOB root_private_headers ${LLDB_SOURCE_DIR}/include/lldb/lldb-private*.h)
list(REMOVE_ITEM root_public_headers ${root_private_headers})
-add_custom_command(
- OUTPUT ${lldb_header_staging_dir}
- COMMAND ${CMAKE_COMMAND} -E make_directory ${lldb_header_staging_dir}
- COMMENT "LLDB headers: create staging directory for LLDB headers")
-
-add_custom_target(liblldb-header-staging-dir DEPENDS ${lldb_header_staging_dir})
-set_target_properties(liblldb-header-staging-dir PROPERTIES FOLDER "LLDB/Resources/liblldb-header-staging")
+file(MAKE_DIRECTORY ${liblldb_header_staging_dir})
----------------
qiyao wrote:
The variable set above is `lldb_header_staging_dir`, not `liblldb_header_staging_dir`.
https://github.com/llvm/llvm-project/pull/228606
More information about the lldb-commits
mailing list