[Lldb-commits] [PATCH] D31969: [CMake] Support generating Config.h

Chris Bieneman via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 11 18:19:00 PDT 2017


beanz created this revision.
Herald added subscribers: mgorny, srhines, emaste.

This patch removes the hand maintained config files in favor of auto-generating the config file. We will still need to maintain the defines for the Xcode builds on Mac, but all CMake builds use the generated header instead.

This will enable finer grained platform support tests and enable supporting LLDB on more platforms with less manual maintenance.

I have only tested this patch on Darwin, and any help testing it out on other platforms would be greatly appreciated. I've probably messed something up somewhere.


https://reviews.llvm.org/D31969

Files:
  cmake/modules/LLDBConfig.cmake
  include/lldb/Host/Config.h
  include/lldb/Host/Config.h.cmake
  include/lldb/Host/android/Config.h
  include/lldb/Host/freebsd/Config.h
  include/lldb/Host/linux/Config.h
  include/lldb/Host/macosx/Config.h
  include/lldb/Host/mingw/Config.h
  include/lldb/Host/msvc/Config.h
  include/lldb/Host/netbsd/Config.h
  include/lldb/Host/openbsd/Config.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31969.94923.patch
Type: text/x-patch
Size: 13593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170412/364e779e/attachment.bin>


More information about the lldb-commits mailing list