mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-28 16:11:29 +00:00
[lldb] Never compile the debugserver with Clang module flags
Summary: Compiling ObjC++ with Clang modules is usually not working well and compiling the small debugserver with modules is not worth the trouble. Reviewers: JDevlieghere Reviewed By: JDevlieghere Subscribers: mgorny, JDevlieghere, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D74891
This commit is contained in:
parent
ce1bc00f37
commit
4e7c686e46
@ -13,6 +13,11 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
||||
include(debugserverConfig)
|
||||
include(AddLLDB)
|
||||
|
||||
# debugserver contains ObjC++ code, so let's disable Clang modules
|
||||
# in this subdirectory to avoid building ObjC++ modules (which often
|
||||
# doesn't properly work).
|
||||
remove_module_flags()
|
||||
|
||||
set(LLDB_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../")
|
||||
include_directories(${LLDB_SOURCE_DIR}/include)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user