1set(EXTRA_CXXFLAGS "") 2 3if (CXX_SUPPORTS_NO_GNU_ANONYMOUS_STRUCT) 4 set(EXTRA_CXXFLAGS ${EXTRA_CXXFLAGS} -Wno-gnu-anonymous-struct) 5endif () 6 7if (CXX_SUPPORTS_NO_NESTED_ANON_TYPES) 8 set(EXTRA_CXXFLAGS ${EXTRA_CXXFLAGS} -Wno-nested-anon-types) 9endif () 10 11add_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 24 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 38 39 EXTRA_CXXFLAGS ${EXTRA_CXXFLAGS} 40) 41