[Lldb-commits] [lldb] r368294 - [lldb][CMake] Disable modules in Xcode projects
Stefan Granitz via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 8 06:39:25 PDT 2019
Author: stefan.graenitz
Date: Thu Aug 8 06:39:25 2019
New Revision: 368294
URL: http://llvm.org/viewvc/llvm-project?rev=368294&view=rev
Log:
[lldb][CMake] Disable modules in Xcode projects
Summary: Apparently, module-enabled builds clash with Xcode's analysis.
Reviewers: aprantl, jingham, davide, teemperor
Reviewed By: davide
Subscribers: mgorny, lldb-commits, #lldb
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D65874
Modified:
lldb/trunk/cmake/caches/Apple-lldb-Xcode.cmake
Modified: lldb/trunk/cmake/caches/Apple-lldb-Xcode.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/caches/Apple-lldb-Xcode.cmake?rev=368294&r1=368293&r2=368294&view=diff
==============================================================================
--- lldb/trunk/cmake/caches/Apple-lldb-Xcode.cmake (original)
+++ lldb/trunk/cmake/caches/Apple-lldb-Xcode.cmake Thu Aug 8 06:39:25 2019
@@ -6,6 +6,9 @@ set(CMAKE_XCODE_GENERATE_SCHEME ON CACHE
set(LLDB_BUILD_FRAMEWORK ON CACHE BOOL "")
+# Apparently, module-enabled builds clash with Xcode's analysis.
+set(LLVM_ENABLE_MODULES OFF CACHE BOOL "" FORCE)
+
# Print a warning with instructions, if we
# build with Xcode and didn't use this cache.
set(LLDB_EXPLICIT_XCODE_CACHE_USED ON CACHE INTERNAL "")
More information about the lldb-commits
mailing list