Author: cbieneman Date: Tue Jan 31 16:29:11 2017 New Revision: 293700 URL: http://llvm.org/viewvc/llvm-project?rev=293700&view=rev Log: [CMake] [3/4] Update a batch of plugins
This is extending the updates from r293696 to more LLDB plugins. Modified: lldb/trunk/source/Plugins/OperatingSystem/Go/CMakeLists.txt lldb/trunk/source/Plugins/OperatingSystem/Python/CMakeLists.txt lldb/trunk/source/Plugins/Platform/Android/CMakeLists.txt lldb/trunk/source/Plugins/Platform/FreeBSD/CMakeLists.txt lldb/trunk/source/Plugins/Platform/Kalimba/CMakeLists.txt lldb/trunk/source/Plugins/Platform/Linux/CMakeLists.txt lldb/trunk/source/Plugins/Platform/MacOSX/CMakeLists.txt lldb/trunk/source/Plugins/Platform/NetBSD/CMakeLists.txt lldb/trunk/source/Plugins/Platform/POSIX/CMakeLists.txt lldb/trunk/source/Plugins/Platform/Windows/CMakeLists.txt lldb/trunk/source/Plugins/Platform/gdb-server/CMakeLists.txt lldb/trunk/source/Plugins/Process/FreeBSD/CMakeLists.txt lldb/trunk/source/Plugins/Process/Linux/CMakeLists.txt lldb/trunk/source/Plugins/Process/MacOSX-Kernel/CMakeLists.txt lldb/trunk/source/Plugins/Process/POSIX/CMakeLists.txt lldb/trunk/source/Plugins/Process/Utility/CMakeLists.txt lldb/trunk/source/Plugins/Process/Windows/Common/CMakeLists.txt lldb/trunk/source/Plugins/Process/elf-core/CMakeLists.txt lldb/trunk/source/Plugins/Process/gdb-remote/CMakeLists.txt lldb/trunk/source/Plugins/Process/mach-core/CMakeLists.txt lldb/trunk/source/Plugins/Process/minidump/CMakeLists.txt Modified: lldb/trunk/source/Plugins/OperatingSystem/Go/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/OperatingSystem/Go/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/OperatingSystem/Go/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/OperatingSystem/Go/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,3 +1,10 @@ -add_lldb_library(lldbPluginOSGo +add_lldb_library(lldbPluginOSGo PLUGIN OperatingSystemGo.cpp + + LINK_LIBS + lldbCore + lldbInterpreter + lldbSymbol + lldbTarget + lldbPluginProcessUtility ) Modified: lldb/trunk/source/Plugins/OperatingSystem/Python/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/OperatingSystem/Python/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/OperatingSystem/Python/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/OperatingSystem/Python/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,3 +1,10 @@ -add_lldb_library(lldbPluginOSPython +add_lldb_library(lldbPluginOSPython PLUGIN OperatingSystemPython.cpp + + LINK_LIBS + lldbCore + lldbInterpreter + lldbSymbol + lldbTarget + lldbPluginProcessUtility ) Modified: lldb/trunk/source/Plugins/Platform/Android/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/Android/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Platform/Android/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Platform/Android/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,5 +1,13 @@ -add_lldb_library(lldbPluginPlatformAndroid +add_lldb_library(lldbPluginPlatformAndroid PLUGIN AdbClient.cpp PlatformAndroid.cpp PlatformAndroidRemoteGDBServer.cpp + + LINK_LIBS + lldbCore + lldbHost + lldbPluginPlatformLinux + lldbPluginPlatformGDB + LINK_COMPONENTS + Support ) Modified: lldb/trunk/source/Plugins/Platform/FreeBSD/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/FreeBSD/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Platform/FreeBSD/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Platform/FreeBSD/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,3 +1,9 @@ -add_lldb_library(lldbPluginPlatformFreeBSD +add_lldb_library(lldbPluginPlatformFreeBSD PLUGIN PlatformFreeBSD.cpp + + LINK_LIBS + lldbBreakpoint + lldbCore + lldbHost + lldbTarget ) Modified: lldb/trunk/source/Plugins/Platform/Kalimba/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/Kalimba/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Platform/Kalimba/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Platform/Kalimba/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,3 +1,8 @@ -add_lldb_library(lldbPluginPlatformKalimba +add_lldb_library(lldbPluginPlatformKalimba PLUGIN PlatformKalimba.cpp + + LINK_LIBS + lldbCore + lldbHost + lldbTarget ) Modified: lldb/trunk/source/Plugins/Platform/Linux/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/Linux/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Platform/Linux/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Platform/Linux/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,3 +1,11 @@ -add_lldb_library(lldbPluginPlatformLinux +add_lldb_library(lldbPluginPlatformLinux PLUGIN PlatformLinux.cpp + + LINK_LIBS + lldbBreakpoint + lldbCore + lldbHost + lldbInterpreter + lldbTarget + lldbPluginPlatformPOSIX ) Modified: lldb/trunk/source/Plugins/Platform/MacOSX/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/MacOSX/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Platform/MacOSX/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Platform/MacOSX/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -24,4 +24,19 @@ else() ${PLUGIN_PLATFORM_MACOSX_DARWIN_ONLY_SOURCES}) endif() -add_lldb_library(lldbPluginPlatformMacOSX ${PLUGIN_PLATFORM_MACOSX_SOURCES}) +add_lldb_library(lldbPluginPlatformMacOSX PLUGIN + ${PLUGIN_PLATFORM_MACOSX_SOURCES} + + LINK_LIBS + clangBasic + lldbBreakpoint + lldbCore + lldbHost + lldbInterpreter + lldbSymbol + lldbTarget + lldbUtility + lldbPluginPlatformPOSIX + LINK_COMPONENTS + Support + ) Modified: lldb/trunk/source/Plugins/Platform/NetBSD/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/NetBSD/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Platform/NetBSD/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Platform/NetBSD/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,3 +1,9 @@ -add_lldb_library(lldbPluginPlatformNetBSD +add_lldb_library(lldbPluginPlatformNetBSD PLUGIN PlatformNetBSD.cpp + + LINK_LIBS + lldbBreakpoint + lldbCore + lldbHost + lldbTarget ) Modified: lldb/trunk/source/Plugins/Platform/POSIX/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/POSIX/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Platform/POSIX/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Platform/POSIX/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,3 +1,10 @@ -add_lldb_library(lldbPluginPlatformPOSIX +add_lldb_library(lldbPluginPlatformPOSIX PLUGIN PlatformPOSIX.cpp + + LINK_LIBS + lldbCore + lldbExpression + lldbHost + lldbInterpreter + lldbTarget ) Modified: lldb/trunk/source/Plugins/Platform/Windows/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/Windows/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Platform/Windows/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Platform/Windows/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,3 +1,9 @@ -add_lldb_library(lldbPluginPlatformWindows +add_lldb_library(lldbPluginPlatformWindows PLUGIN PlatformWindows.cpp + + LINK_LIBS + lldbBreakpoint + lldbCore + lldbHost + lldbTarget ) Modified: lldb/trunk/source/Plugins/Platform/gdb-server/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/gdb-server/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Platform/gdb-server/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Platform/gdb-server/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,3 +1,10 @@ -add_lldb_library(lldbPluginPlatformGDB +add_lldb_library(lldbPluginPlatformGDB PLUGIN PlatformRemoteGDBServer.cpp + + LINK_LIBS + lldbBreakpoint + lldbCore + lldbHost + lldbTarget + lldbPluginProcessUtility ) Modified: lldb/trunk/source/Plugins/Process/FreeBSD/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/FreeBSD/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/FreeBSD/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Process/FreeBSD/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -2,7 +2,7 @@ include_directories(.) include_directories(../POSIX) include_directories(../Utility) -add_lldb_library(lldbPluginProcessFreeBSD +add_lldb_library(lldbPluginProcessFreeBSD PLUGIN ProcessFreeBSD.cpp FreeBSDThread.cpp ProcessMonitor.cpp @@ -13,4 +13,16 @@ add_lldb_library(lldbPluginProcessFreeBS RegisterContextPOSIXProcessMonitor_powerpc.cpp RegisterContextPOSIXProcessMonitor_x86.cpp RegisterContextPOSIXProcessMonitor_mips64.cpp + + LINK_LIBS + lldbBreakpoint + lldbCore + lldbHost + lldbSymbol + lldbTarget + lldbUtility + lldbPluginProcessUtility + lldbPluginProcessPOSIX + LINK_COMPONENTS + Support ) Modified: lldb/trunk/source/Plugins/Process/Linux/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/Linux/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Process/Linux/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -2,7 +2,7 @@ include_directories(.) include_directories(../POSIX) include_directories(../Utility) -add_lldb_library(lldbPluginProcessLinux +add_lldb_library(lldbPluginProcessLinux PLUGIN NativeProcessLinux.cpp NativeRegisterContextLinux.cpp NativeRegisterContextLinux_arm.cpp @@ -13,4 +13,15 @@ add_lldb_library(lldbPluginProcessLinux NativeThreadLinux.cpp ProcFileReader.cpp SingleStepCheck.cpp + + LINK_LIBS + lldbCore + lldbHost + lldbSymbol + lldbTarget + lldbUtility + lldbPluginProcessPOSIX + lldbPluginProcessUtility + LINK_COMPONENTS + Support ) Modified: lldb/trunk/source/Plugins/Process/MacOSX-Kernel/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/MacOSX-Kernel/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/MacOSX-Kernel/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Process/MacOSX-Kernel/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,4 +1,4 @@ -add_lldb_library(lldbPluginProcessMacOSXKernel +add_lldb_library(lldbPluginProcessMacOSXKernel PLUGIN CommunicationKDP.cpp ProcessKDP.cpp ProcessKDPLog.cpp @@ -7,4 +7,16 @@ add_lldb_library(lldbPluginProcessMacOSX RegisterContextKDP_i386.cpp RegisterContextKDP_x86_64.cpp ThreadKDP.cpp + + LINK_LIBS + lldbBreakpoint + lldbCore + lldbHost + lldbInterpreter + lldbSymbol + lldbTarget + lldbUtility + lldbPluginDynamicLoaderDarwinKernel + lldbPluginDynamicLoaderStatic + lldbPluginProcessUtility ) Modified: lldb/trunk/source/Plugins/Process/POSIX/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/POSIX/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/POSIX/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Process/POSIX/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,8 +1,14 @@ include_directories(.) include_directories(../Utility) -add_lldb_library(lldbPluginProcessPOSIX +add_lldb_library(lldbPluginProcessPOSIX PLUGIN CrashReason.cpp ProcessMessage.cpp ProcessPOSIXLog.cpp + + LINK_LIBS + lldbCore + lldbInterpreter + LINK_COMPONENTS + Support ) Modified: lldb/trunk/source/Plugins/Process/Utility/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/Utility/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Process/Utility/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,6 +1,6 @@ include_directories(../../../Utility/) -add_lldb_library(lldbPluginProcessUtility +add_lldb_library(lldbPluginProcessUtility PLUGIN DynamicRegisterInfo.cpp FreeBSDSignals.cpp GDBRemoteSignals.cpp @@ -46,4 +46,17 @@ add_lldb_library(lldbPluginProcessUtilit ThreadMemory.cpp UnwindLLDB.cpp UnwindMacOSXFrameBackchain.cpp + + LINK_LIBS + lldbBreakpoint + lldbCore + lldbDataFormatters + lldbExpression + lldbHost + lldbSymbol + lldbTarget + lldbUtility + lldbPluginProcessElfCore + LINK_COMPONENTS + Support ) Modified: lldb/trunk/source/Plugins/Process/Windows/Common/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Windows/Common/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/Windows/Common/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Process/Windows/Common/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -20,6 +20,14 @@ elseif (CMAKE_SIZEOF_VOID_P EQUAL 8) ) endif() -add_lldb_library(lldbPluginProcessWindowsCommon +add_lldb_library(lldbPluginProcessWindowsCommon PLUGIN ${PROC_WINDOWS_COMMON_SOURCES} + + LINK_LIBS + lldbCore + lldbHost + lldbInterpreter + lldbTarget + LINK_COMPONENTS + Support ) Modified: lldb/trunk/source/Plugins/Process/elf-core/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/elf-core/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/elf-core/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Process/elf-core/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,6 +1,6 @@ include_directories(../Utility) -add_lldb_library(lldbPluginProcessElfCore +add_lldb_library(lldbPluginProcessElfCore PLUGIN ProcessElfCore.cpp ThreadElfCore.cpp RegisterContextPOSIXCore_arm.cpp @@ -9,4 +9,13 @@ add_lldb_library(lldbPluginProcessElfCor RegisterContextPOSIXCore_powerpc.cpp RegisterContextPOSIXCore_s390x.cpp RegisterContextPOSIXCore_x86_64.cpp + + LINK_LIBS + lldbCore + lldbTarget + lldbPluginDynamicLoaderPosixDYLD + lldbPluginObjectFileELF + lldbPluginProcessUtility + LINK_COMPONENTS + Support ) Modified: lldb/trunk/source/Plugins/Process/gdb-remote/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/gdb-remote/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Process/gdb-remote/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -2,7 +2,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Darwin") include_directories(${LIBXML2_INCLUDE_DIR}) endif() -add_lldb_library(lldbPluginProcessGDBRemote +add_lldb_library(lldbPluginProcessGDBRemote PLUGIN GDBRemoteClientBase.cpp GDBRemoteCommunication.cpp GDBRemoteCommunicationClient.cpp @@ -14,4 +14,18 @@ add_lldb_library(lldbPluginProcessGDBRem ProcessGDBRemote.cpp ProcessGDBRemoteLog.cpp ThreadGDBRemote.cpp + + LINK_LIBS + lldbBreakpoint + lldbCore + lldbDataFormatters + lldbHost + lldbInterpreter + lldbSymbol + lldbTarget + lldbUtility + lldbPluginProcessUtility + lldbPluginPlatformMacOSX + LINK_COMPONENTS + Support ) Modified: lldb/trunk/source/Plugins/Process/mach-core/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/mach-core/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/mach-core/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Process/mach-core/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,6 +1,19 @@ include_directories(../Utility) -add_lldb_library(lldbPluginProcessMachCore +add_lldb_library(lldbPluginProcessMachCore PLUGIN ProcessMachCore.cpp ThreadMachCore.cpp + + LINK_LIBS + lldbBreakpoint + lldbCore + lldbHost + lldbSymbol + lldbTarget + lldbUtility + lldbPluginDynamicLoaderDarwinKernel + lldbPluginDynamicLoaderMacOSXDYLD + lldbPluginObjectFileMachO + LINK_COMPONENTS + Support ) Modified: lldb/trunk/source/Plugins/Process/minidump/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/minidump/CMakeLists.txt?rev=293700&r1=293699&r2=293700&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/minidump/CMakeLists.txt (original) +++ lldb/trunk/source/Plugins/Process/minidump/CMakeLists.txt Tue Jan 31 16:29:11 2017 @@ -1,10 +1,19 @@ include_directories(../Utility) -add_lldb_library(lldbPluginProcessMinidump +add_lldb_library(lldbPluginProcessMinidump PLUGIN MinidumpTypes.cpp MinidumpParser.cpp RegisterContextMinidump_x86_32.cpp RegisterContextMinidump_x86_64.cpp ProcessMinidump.cpp ThreadMinidump.cpp + + LINK_LIBS + lldbCore + lldbTarget + lldbUtility + lldbPluginProcessUtility + lldbPluginProcessElfCore + LINK_COMPONENTS + Support ) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits