[mlir][int-range] Limit xor int range inference to i1 (#116968)
[llvm-project.git] / lldb / source / Utility / CMakeLists.txt
blob6954a2508ffe1c5058f77fe4017d39e2fb29edc6
1 set(LLDB_SYSTEM_LIBS)
3 if (APPLE)
4   list(APPEND LLDB_SYSTEM_LIBS
5        ${FOUNDATION_LIBRARY}
6        ${CORE_FOUNDATION_LIBRARY}
7        ${CORE_SERVICES_LIBRARY}
8        ${SECURITY_LIBRARY}
9        ${DEBUG_SYMBOLS_LIBRARY})
10 endif()
12 if(NOT PURE_WINDOWS)
13   list(APPEND LLDB_SYSTEM_LIBS ${CMAKE_THREAD_LIBS_INIT})
14 endif()
16 list(APPEND LLDB_SYSTEM_LIBS ${CMAKE_DL_LIBS})
18 if (CMAKE_SYSTEM_NAME MATCHES "Windows")
19   list(APPEND LLDB_SYSTEM_LIBS ws2_32 rpcrt4)
20 endif ()
22 if (NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB )
23     list(APPEND LLDB_SYSTEM_LIBS atomic)
24 endif()
26 add_lldb_library(lldbUtility NO_INTERNAL_DEPENDENCIES
27   AddressableBits.cpp
28   ArchSpec.cpp
29   Args.cpp
30   Baton.cpp
31   Broadcaster.cpp
32   Checksum.cpp
33   CompletionRequest.cpp
34   Connection.cpp
35   ConstString.cpp
36   DataBufferHeap.cpp
37   DataBufferLLVM.cpp
38   DataEncoder.cpp
39   DataExtractor.cpp
40   Diagnostics.cpp
41   DiagnosticsRendering.cpp
42   Environment.cpp
43   ErrorMessages.cpp
44   Event.cpp
45   FileSpec.cpp
46   FileSpecList.cpp
47   GDBRemote.cpp
48   IOObject.cpp
49   LLDBAssert.cpp
50   LLDBLog.cpp
51   Listener.cpp
52   Log.cpp
53   NameMatches.cpp
54   ProcessInfo.cpp
55   RealpathPrefixes.cpp
56   RegisterValue.cpp
57   RegularExpression.cpp
58   Instrumentation.cpp
59   Scalar.cpp
60   SelectHelper.cpp
61   State.cpp
62   Status.cpp
63   Stream.cpp
64   StreamString.cpp
65   StringExtractor.cpp
66   StringExtractorGDBRemote.cpp
67   StringLexer.cpp
68   StringList.cpp
69   StructuredData.cpp
70   TildeExpressionResolver.cpp
71   Timer.cpp
72   TraceGDBRemotePackets.cpp
73   TraceIntelPTGDBRemotePackets.cpp
74   UnimplementedError.cpp
75   UUID.cpp
76   UriParser.cpp
77   UserID.cpp
78   UserIDResolver.cpp
79   VASprintf.cpp
80   VMRange.cpp
81   XcodeSDK.cpp
82   ZipFile.cpp
84   LINK_LIBS
85     ${LLDB_SYSTEM_LIBS}
86     # lldbUtility does not depend on other LLDB libraries
88   LINK_COMPONENTS
89     BinaryFormat
90     Support
91     TargetParser
92   )