[Lldb-commits] [PATCH 2/4] cmake build: Add missing plugins to the OS X build.

Kuba Ober kuba at mareimbrium.org
Wed Mar 12 12:43:35 PDT 2014


---
 source/CMakeLists.txt                   | 3 +++
 source/Plugins/JITLoader/CMakeLists.txt | 3 ++-
 source/Plugins/Process/CMakeLists.txt   | 5 ++---
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index c562183..ec96a4b 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -135,6 +135,9 @@ if ( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
     lldbPluginProcessMacOSXKernel
     lldbPluginSymbolVendorMacOSX
     lldbPluginSystemRuntimeMacOSX
+    lldbPluginProcessPOSIX
+    lldbPluginProcessElfCore
+    lldbPluginJITLoaderGDB
     )
 endif()
 
diff --git a/source/Plugins/JITLoader/CMakeLists.txt b/source/Plugins/JITLoader/CMakeLists.txt
index 7bd733c..f6f72c3 100644
--- a/source/Plugins/JITLoader/CMakeLists.txt
+++ b/source/Plugins/JITLoader/CMakeLists.txt
@@ -1,3 +1,4 @@
-if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "Windows")
+if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "Linux"
+    OR CMAKE_SYSTEM_NAME MATCHES "Windows" OR CMAKE_SYSTEM_NAME MATCHES "Darwin")
   add_subdirectory(GDB)
 endif()
diff --git a/source/Plugins/Process/CMakeLists.txt b/source/Plugins/Process/CMakeLists.txt
index f9bdf79..8937fb4 100644
--- a/source/Plugins/Process/CMakeLists.txt
+++ b/source/Plugins/Process/CMakeLists.txt
@@ -1,16 +1,15 @@
 if (CMAKE_SYSTEM_NAME MATCHES "Linux")
   add_subdirectory(Linux)
   add_subdirectory(POSIX)
-  add_subdirectory(elf-core)
 elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
   add_subdirectory(FreeBSD)
   add_subdirectory(POSIX)
-  add_subdirectory(elf-core)
 elseif (CMAKE_SYSTEM_NAME MATCHES "Windows")
-  add_subdirectory(elf-core)
 elseif (CMAKE_SYSTEM_NAME MATCHES "Darwin")
+  add_subdirectory(POSIX)
   add_subdirectory(MacOSX-Kernel)
 endif()
 add_subdirectory(gdb-remote)
 add_subdirectory(Utility)
 add_subdirectory(mach-core)
+add_subdirectory(elf-core)
-- 
1.8.5.5




More information about the lldb-commits mailing list