[Lldb-commits] [lldb] r181711 - Unbreak cmake builds by skipping Darwin kernel plugin on non-Mac platforms

Daniel Malea daniel.malea at intel.com
Mon May 13 10:30:30 PDT 2013


Author: dmalea
Date: Mon May 13 12:30:30 2013
New Revision: 181711

URL: http://llvm.org/viewvc/llvm-project?rev=181711&view=rev
Log:
Unbreak cmake builds by skipping Darwin kernel plugin on non-Mac platforms


Modified:
    lldb/trunk/source/CMakeLists.txt
    lldb/trunk/source/Plugins/DynamicLoader/CMakeLists.txt

Modified: lldb/trunk/source/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/CMakeLists.txt?rev=181711&r1=181710&r2=181711&view=diff
==============================================================================
--- lldb/trunk/source/CMakeLists.txt (original)
+++ lldb/trunk/source/CMakeLists.txt Mon May 13 12:30:30 2013
@@ -57,7 +57,6 @@ set( LLDB_USED_LIBS
   lldbPluginDynamicLoaderMacOSXDYLD
   lldbPluginUnwindAssemblyInstEmulation
   lldbPluginUnwindAssemblyX86
-  lldbPluginDynamicLoaderDarwinKernel
   lldbPluginAppleObjCRuntime
   lldbPluginCXXItaniumABI
   lldbPluginABIMacOSX_arm
@@ -90,6 +89,7 @@ endif ()
 if ( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
   list(APPEND LLDB_USED_LIBS
     lldbHostMacOSX
+    lldbPluginDynamicLoaderDarwinKernel
     lldbPluginOSDarwinKernel
     lldbPluginProcessMacOSXKernel
     lldbPluginSymbolVendorMacOSX

Modified: lldb/trunk/source/Plugins/DynamicLoader/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/DynamicLoader/CMakeLists.txt?rev=181711&r1=181710&r2=181711&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/DynamicLoader/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/DynamicLoader/CMakeLists.txt Mon May 13 12:30:30 2013
@@ -1,4 +1,8 @@
-add_subdirectory(Darwin-Kernel)
 add_subdirectory(MacOSX-DYLD)
 add_subdirectory(POSIX-DYLD)
 add_subdirectory(Static)
+
+if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
+  add_subdirectory(Darwin-Kernel)
+endif()
+





More information about the lldb-commits mailing list