Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / source / Plugins / Language / ObjC / CMakeLists.txt
blobc998d5455de3886b735ab05e92a81121f7e5c756
1 set(EXTRA_CXXFLAGS "")
3 if (CXX_SUPPORTS_NO_GNU_ANONYMOUS_STRUCT)
4   set(EXTRA_CXXFLAGS ${EXTRA_CXXFLAGS} -Wno-gnu-anonymous-struct)
5 endif ()
7 if (CXX_SUPPORTS_NO_NESTED_ANON_TYPES)
8   set(EXTRA_CXXFLAGS ${EXTRA_CXXFLAGS} -Wno-nested-anon-types)
9 endif ()
11 add_lldb_library(lldbPluginObjCLanguage PLUGIN
12   ObjCLanguage.cpp
13   CF.cpp
14   CFBasicHash.cpp
15   Cocoa.cpp
16   CoreMedia.cpp
17   NSArray.cpp
18   NSDictionary.cpp
19   NSError.cpp
20   NSException.cpp
21   NSIndexPath.cpp
22   NSSet.cpp
23   NSString.cpp
25   LINK_LIBS
26     lldbCore
27     lldbDataFormatters
28     lldbExpression
29     lldbHost
30     lldbSymbol
31     lldbTarget
32     lldbUtility
33     lldbPluginAppleObjCRuntime
34     lldbPluginClangCommon
35     lldbPluginTypeSystemClang
36   CLANG_LIBS
37     clangAST
39   EXTRA_CXXFLAGS ${EXTRA_CXXFLAGS}