[Lldb-commits] [PATCH] D58793: [CMake] Make liblldb depend on clang-headers

Alex Langford via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 28 13:12:22 PST 2019


xiaobai created this revision.
xiaobai added reviewers: labath, zturner, sgraenitz.
Herald added a subscriber: mgorny.

The clang headers are useful when dealing with clang modules. There is also a
way to get to the clang headers from the SB API so it would be nice if they were
also available when we just build lldb.


https://reviews.llvm.org/D58793

Files:
  source/API/CMakeLists.txt


Index: source/API/CMakeLists.txt
===================================================================
--- source/API/CMakeLists.txt
+++ source/API/CMakeLists.txt
@@ -151,6 +151,10 @@
   )
 endif()
 
+if (NOT LLDB_BUILT_STANDALONE)
+  add_dependencies(liblldb clang-headers)
+endif()
+
 if(LLDB_BUILD_FRAMEWORK)
   include(LLDBFramework)
 endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58793.188782.patch
Type: text/x-patch
Size: 345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190228/335a8fde/attachment.bin>


More information about the lldb-commits mailing list