[Lldb-commits] [PATCH] [lldb] Build lldb-mi with cmake on Linux only

Chilledheart rwindz0 at gmail.com
Mon May 26 05:58:12 PDT 2014


According to tools/Makefile [[ http://reviews.llvm.org/rL209117 | rL209117 ]]

  ifeq ($(HOST_OS),Linux)
  DIRS += lldb-mi
  endif

lldb-mi should be built with cmake on Linux only

http://reviews.llvm.org/D3910

Files:
  tools/CMakeLists.txt

Index: tools/CMakeLists.txt
===================================================================
--- tools/CMakeLists.txt
+++ tools/CMakeLists.txt
@@ -2,7 +2,9 @@
   add_subdirectory(debugserver)
 endif()
   add_subdirectory(driver)
+if (CMAKE_SYSTEM_NAME MATCHES "Linux")
   add_subdirectory(lldb-mi)
+endif()
 if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "Linux")
   add_subdirectory(lldb-gdbserver)
 endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3910.9802.patch
Type: text/x-patch
Size: 434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140526/a88fe805/attachment.bin>


More information about the lldb-commits mailing list