[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / lldb / source / Core / CMakeLists.txt
blob10525ac39e6ef50ef6d1c6891ddf04099ef0ed93
1 lldb_tablegen(CoreProperties.inc -gen-lldb-property-defs
2   SOURCE CoreProperties.td
3   TARGET LLDBCorePropertiesGen)
5 lldb_tablegen(CorePropertiesEnum.inc -gen-lldb-property-enum-defs
6   SOURCE CoreProperties.td
7   TARGET LLDBCorePropertiesEnumGen)
9 set(LLDB_CURSES_LIBS)
10 set(LLDB_LIBEDIT_LIBS)
12 if (LLDB_ENABLE_CURSES)
13   list(APPEND LLDB_CURSES_LIBS ${PANEL_LIBRARIES} ${CURSES_LIBRARIES})
14   if(LLVM_ENABLE_TERMINFO)
15     list(APPEND LLDB_CURSES_LIBS ${Terminfo_LIBRARIES})
16   endif()
17   if (LLVM_BUILD_STATIC)
18     list(APPEND LLDB_CURSES_LIBS gpm)
19   endif()
20 endif()
22 # TODO: Add property `NO_PLUGIN_DEPENDENCIES` to lldbCore
23 add_lldb_library(lldbCore
24   Address.cpp
25   AddressRange.cpp
26   AddressResolver.cpp
27   AddressResolverFileLine.cpp
28   Communication.cpp
29   DataFileCache.cpp
30   Debugger.cpp
31   DebuggerEvents.cpp
32   Declaration.cpp
33   Disassembler.cpp
34   DumpDataExtractor.cpp
35   DumpRegisterValue.cpp
36   DumpRegisterInfo.cpp
37   DynamicLoader.cpp
38   EmulateInstruction.cpp
39   FileLineResolver.cpp
40   FormatEntity.cpp
41   Highlighter.cpp
42   IOHandler.cpp
43   IOHandlerCursesGUI.cpp
44   Mangled.cpp
45   Module.cpp
46   ModuleChild.cpp
47   ModuleList.cpp
48   Opcode.cpp
49   PluginManager.cpp
50   Progress.cpp
51   RichManglingContext.cpp
52   SearchFilter.cpp
53   Section.cpp
54   SourceLocationSpec.cpp
55   SourceManager.cpp
56   StreamAsynchronousIO.cpp
57   ThreadedCommunication.cpp
58   UserSettingsController.cpp
59   Value.cpp
60   ValueObject.cpp
61   ValueObjectCast.cpp
62   ValueObjectChild.cpp
63   ValueObjectConstResult.cpp
64   ValueObjectConstResultCast.cpp
65   ValueObjectConstResultChild.cpp
66   ValueObjectConstResultImpl.cpp
67   ValueObjectDynamicValue.cpp
68   ValueObjectList.cpp
69   ValueObjectMemory.cpp
70   ValueObjectRegister.cpp
71   ValueObjectSyntheticFilter.cpp
72   ValueObjectUpdater.cpp
73   ValueObjectVariable.cpp
74   ValueObjectVTable.cpp
76   DEPENDS
77     clang-tablegen-targets
79   LINK_LIBS
80     lldbBreakpoint
81     lldbDataFormatters
82     lldbExpression
83     lldbHost
84     lldbInterpreter
85     lldbSymbol
86     lldbTarget
87     lldbUtility
88     lldbPluginCPlusPlusLanguage
89     lldbPluginObjCLanguage
90     ${LLDB_CURSES_LIBS}
92   CLANG_LIBS
93     clangDriver
95   LINK_COMPONENTS
96     Support
97     Demangle
98     TargetParser
99   )
101 add_dependencies(lldbCore
102   LLDBCorePropertiesGen
103   LLDBCorePropertiesEnumGen)
105 # Needed to properly resolve references in a debug build.
106 # TODO: Remove once we have better layering
107 set_target_properties(lldbCore PROPERTIES LINK_INTERFACE_MULTIPLICITY 5)
109 if (LLDB_ENABLE_CURSES)
110   target_include_directories(lldbCore PRIVATE ${CURSES_INCLUDE_DIRS})
111 endif()