[Lldb-commits] [PATCH] D47612: Add dependency on clang-headers when building LLDB.framework using CMake
Alex Langford via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 1 11:19:00 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL333777: Add dependency on clang-headers when building LLDB.framework using CMake (authored by xiaobai, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D47612
Files:
lldb/trunk/source/API/CMakeLists.txt
Index: lldb/trunk/source/API/CMakeLists.txt
===================================================================
--- lldb/trunk/source/API/CMakeLists.txt
+++ lldb/trunk/source/API/CMakeLists.txt
@@ -187,6 +187,9 @@
PUBLIC_HEADER "${framework_headers}")
if(NOT IOS)
+ if (NOT LLDB_BUILT_STANDALONE)
+ add_dependencies(liblldb clang-headers)
+ endif()
add_custom_command(TARGET liblldb POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_BINARY_DIR}/FrameworkHeaders $<TARGET_FILE_DIR:liblldb>/Headers
COMMAND ${CMAKE_COMMAND} -E create_symlink Versions/Current/Headers ${CMAKE_BINARY_DIR}/${LLDB_FRAMEWORK_INSTALL_DIR}/LLDB.framework/Headers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47612.149516.patch
Type: text/x-patch
Size: 698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180601/6932a1d2/attachment.bin>
More information about the lldb-commits
mailing list