CMakeLists.txt revision c640058aa7f224a71ce3b1d2601d84e1b57f82d3
1set(LLVM_LINK_COMPONENTS 2 ${LLVM_TARGETS_TO_BUILD} 3 asmparser 4 support 5 mc 6 ) 7 8add_clang_library(clangSema 9 AnalysisBasedWarnings.cpp 10 AttributeList.cpp 11 CodeCompleteConsumer.cpp 12 DeclSpec.cpp 13 DelayedDiagnostic.cpp 14 IdentifierResolver.cpp 15 JumpDiagnostics.cpp 16 MultiplexExternalSemaSource.cpp 17 Scope.cpp 18 ScopeInfo.cpp 19 Sema.cpp 20 SemaAccess.cpp 21 SemaAttr.cpp 22 SemaCXXScopeSpec.cpp 23 SemaCast.cpp 24 SemaChecking.cpp 25 SemaCodeComplete.cpp 26 SemaConsumer.cpp 27 SemaDecl.cpp 28 SemaDeclAttr.cpp 29 SemaDeclCXX.cpp 30 SemaDeclObjC.cpp 31 SemaExceptionSpec.cpp 32 SemaExpr.cpp 33 SemaExprCXX.cpp 34 SemaExprMember.cpp 35 SemaExprObjC.cpp 36 SemaFixItUtils.cpp 37 SemaInit.cpp 38 SemaLambda.cpp 39 SemaLookup.cpp 40 SemaObjCProperty.cpp 41 SemaOpenMP.cpp 42 SemaOverload.cpp 43 SemaPseudoObject.cpp 44 SemaStmt.cpp 45 SemaStmtAsm.cpp 46 SemaStmtAttr.cpp 47 SemaTemplate.cpp 48 SemaTemplateDeduction.cpp 49 SemaTemplateInstantiate.cpp 50 SemaTemplateInstantiateDecl.cpp 51 SemaTemplateVariadic.cpp 52 SemaType.cpp 53 TargetAttributesSema.cpp 54 ) 55 56add_dependencies(clangSema 57 ClangARMNeon 58 ClangAttrClasses 59 ClangAttrList 60 ClangAttrParsedAttrList 61 ClangAttrParsedAttrKinds 62 ClangAttrSpellingListIndex 63 ClangAttrTemplateInstantiate 64 ClangCommentNodes 65 ClangDeclNodes 66 ClangDiagnosticAST 67 ClangDiagnosticComment 68 ClangDiagnosticCommon 69 ClangDiagnosticParse 70 ClangDiagnosticSema 71 ClangStmtNodes 72 ) 73 74target_link_libraries(clangSema 75 clangAST 76 clangAnalysis 77 clangBasic 78 clangEdit 79 clangLex 80 ) 81