Files
clang-p2996/lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt
Pavel Labath ed1a83befe [lldb/gdb-remote] Remove ancient debugserver workaround
This workaround is the source of an awkwared Process->Platform
dependency. While this could be solved in various ways (the only thing
we really use is the plugin name), it may be better to just remove it --
the workaround was added 10 years ago (43c555dfc), and the affected
debugservers were "old" even then, so hopefully they are not in use
anymore.

Differential Revision: https://reviews.llvm.org/D121305
2022-03-10 20:26:54 +01:00

55 lines
1.3 KiB
CMake

lldb_tablegen(ProcessGDBRemoteProperties.inc -gen-lldb-property-defs
SOURCE ProcessGDBRemoteProperties.td
TARGET LLDBPluginProcessGDBRemotePropertiesGen)
lldb_tablegen(ProcessGDBRemotePropertiesEnum.inc -gen-lldb-property-enum-defs
SOURCE ProcessGDBRemoteProperties.td
TARGET LLDBPluginProcessGDBRemotePropertiesEnumGen)
set(LLDB_PLUGINS
lldbPluginProcessUtility
)
if(HAVE_LIBCOMPRESSION)
set(LIBCOMPRESSION compression)
endif()
if(LLVM_ENABLE_ZLIB)
list(APPEND LLDB_SYSTEM_LIBS ZLIB::ZLIB)
endif()
add_lldb_library(lldbPluginProcessGDBRemote PLUGIN
GDBRemoteClientBase.cpp
GDBRemoteCommunication.cpp
GDBRemoteCommunicationClient.cpp
GDBRemoteCommunicationHistory.cpp
GDBRemoteCommunicationServer.cpp
GDBRemoteCommunicationServerCommon.cpp
GDBRemoteCommunicationServerLLGS.cpp
GDBRemoteCommunicationServerPlatform.cpp
GDBRemoteRegisterContext.cpp
GDBRemoteRegisterFallback.cpp
ProcessGDBRemote.cpp
ProcessGDBRemoteLog.cpp
ThreadGDBRemote.cpp
LINK_LIBS
lldbBreakpoint
lldbCore
lldbDataFormatters
lldbHost
lldbInterpreter
lldbSymbol
lldbTarget
lldbUtility
${LLDB_SYSTEM_LIBS}
${LLDB_PLUGINS}
${LIBCOMPRESSION}
LINK_COMPONENTS
Support
)
add_dependencies(lldbPluginProcessGDBRemote
LLDBPluginProcessGDBRemotePropertiesGen
LLDBPluginProcessGDBRemotePropertiesEnumGen)