diff options
| author | Chris Bieneman <beanz@apple.com> | 2017-02-08 21:00:46 +0000 |
|---|---|---|
| committer | Chris Bieneman <beanz@apple.com> | 2017-02-08 21:00:46 +0000 |
| commit | fd2f0cb170c8fe2b9b1e5b18197c8551add42701 (patch) | |
| tree | 1f87fcf37c2212d98fc687366fbf49eebb207135 /lldb/source/Initialization | |
| parent | e7a982040bc6228301a693212db0cbf231baa599 (diff) | |
| download | bcm5719-llvm-fd2f0cb170c8fe2b9b1e5b18197c8551add42701.tar.gz bcm5719-llvm-fd2f0cb170c8fe2b9b1e5b18197c8551add42701.zip | |
[CMake] Final dependency cleanup patch!
Summary:
This patch removes the over-specified dependencies from LLDBDependencies and instead relies on the dependencies as expressed in each library and tool.
This also removes the library looping in favor of allowing CMake to do its thing. I've tested this patch on Darwin, and found no issues, but since linker semantics vary by system I'll also work on testing it on other platforms too.
Help testing would be greatly appreciated.
Reviewers: labath, zturner
Subscribers: danalbert, srhines, mgorny, jgosnell, lldb-commits
Differential Revision: https://reviews.llvm.org/D29352
llvm-svn: 294515
Diffstat (limited to 'lldb/source/Initialization')
| -rw-r--r-- | lldb/source/Initialization/CMakeLists.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lldb/source/Initialization/CMakeLists.txt b/lldb/source/Initialization/CMakeLists.txt index 7c7ee52fb2e..7a100588e00 100644 --- a/lldb/source/Initialization/CMakeLists.txt +++ b/lldb/source/Initialization/CMakeLists.txt @@ -7,11 +7,7 @@ if ( CMAKE_SYSTEM_NAME MATCHES "Linux|Android|FreeBSD|NetBSD" ) endif() if ( CMAKE_SYSTEM_NAME MATCHES "Windows" ) - list(APPEND LLDB_USED_LIBS - lldbPluginProcessWindowsCommon - ws2_32 - rpcrt4 - ) + list(APPEND EXTRA_PLUGINS lldbPluginProcessWindowsCommon) endif () add_lldb_library(lldbInitialization @@ -31,6 +27,7 @@ add_lldb_library(lldbInitialization lldbPluginObjectFilePECOFF lldbPluginProcessGDBRemote ${EXTRA_PLUGINS} + ${LLDB_SYSTEM_LIBS} LINK_COMPONENTS Support ) |

