[PATCH] D22987: [lldb][cmake] Remove libclang as an lldbBase dependency (NFCI)
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 2 16:03:17 PDT 2016
vsk updated this revision to Diff 66584.
vsk marked an inline comment as done.
vsk added a comment.
- Remove the foreach loop. It only caused a syntax error earlier because CLANG_USED_LIBS wasn't always defined.
https://reviews.llvm.org/D22987
Files:
CMakeLists.txt
cmake/modules/AddLLDB.cmake
Index: cmake/modules/AddLLDB.cmake
===================================================================
--- cmake/modules/AddLLDB.cmake
+++ cmake/modules/AddLLDB.cmake
@@ -84,10 +84,7 @@
endif()
endif()
- # Hack: only some LLDB libraries depend on the clang autogenerated headers,
- # but it is simple enough to make all of LLDB depend on some of those
- # headers without negatively impacting much of anything.
- add_dependencies(${name} libclang)
+ add_dependencies(${name} ${CLANG_USED_LIBS})
set_target_properties(${name} PROPERTIES FOLDER "lldb libraries")
endmacro(add_lldb_library)
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.4.3)
+include(cmake/LLDBDependencies.cmake)
include(cmake/modules/LLDBStandalone.cmake)
include(cmake/modules/LLDBConfig.cmake)
include(cmake/modules/AddLLDB.cmake)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22987.66584.patch
Type: text/x-patch
Size: 957 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160802/87350729/attachment.bin>
More information about the llvm-commits
mailing list