[Lldb-commits] [PATCH] D61877: [CMake] Add error to clarify that lldb requires libcxx

Stefan Gränitz via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue May 14 02:50:04 PDT 2019


sgraenitz added a comment.

Thanks for adding this. Would it make sense to use `LLVM_ENABLE_PROJECTS_USED`? https://github.com/llvm/llvm-project/blob/a568222d/llvm/CMakeLists.txt#L128

BTW `LLVM_ENABLE_PROJECTS` can be "all" but LLVM should already have handled it at this point.



================
Comment at: lldb/CMakeLists.txt:127
       else()
+        if(NOT libcxx IN_LIST LLVM_ENABLE_PROJECTS)
+          message(FATAL_ERROR
----------------
JDevlieghere wrote:
> Should we check that LLVM_ENABLE_PROJECTS is not empty, for people that are still using the old layout?
+1


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61877/new/

https://reviews.llvm.org/D61877





More information about the lldb-commits mailing list