llvm/lldb/source/Plugins/Platform/gdb-server/CMakeLists.txt

add_lldb_library(lldbPluginPlatformGDB PLUGIN
  PlatformRemoteGDBServer.cpp

   LINK_LIBS
    lldbBreakpoint
    lldbCore
    lldbHost
    lldbTarget
    lldbPluginProcessUtility
    lldbPluginProcessGDBRemote
  )