forked from OSchip/llvm-project
76 lines
1.4 KiB
CMake
76 lines
1.4 KiB
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
asmparser
|
|
support
|
|
mc
|
|
)
|
|
|
|
add_clang_library(clangSema
|
|
AnalysisBasedWarnings.cpp
|
|
AttributeList.cpp
|
|
CodeCompleteConsumer.cpp
|
|
DeclSpec.cpp
|
|
DelayedDiagnostic.cpp
|
|
IdentifierResolver.cpp
|
|
JumpDiagnostics.cpp
|
|
Scope.cpp
|
|
Sema.cpp
|
|
SemaAccess.cpp
|
|
SemaAttr.cpp
|
|
SemaCXXScopeSpec.cpp
|
|
SemaCast.cpp
|
|
SemaChecking.cpp
|
|
SemaCodeComplete.cpp
|
|
SemaConsumer.cpp
|
|
SemaDecl.cpp
|
|
SemaDeclAttr.cpp
|
|
SemaDeclCXX.cpp
|
|
SemaDeclObjC.cpp
|
|
SemaExceptionSpec.cpp
|
|
SemaExpr.cpp
|
|
SemaExprCXX.cpp
|
|
SemaExprMember.cpp
|
|
SemaExprObjC.cpp
|
|
SemaFixItUtils.cpp
|
|
SemaInit.cpp
|
|
SemaLambda.cpp
|
|
SemaLookup.cpp
|
|
SemaObjCProperty.cpp
|
|
SemaOverload.cpp
|
|
SemaPseudoObject.cpp
|
|
SemaStmt.cpp
|
|
SemaStmtAttr.cpp
|
|
SemaTemplate.cpp
|
|
SemaTemplateDeduction.cpp
|
|
SemaTemplateInstantiate.cpp
|
|
SemaTemplateInstantiateDecl.cpp
|
|
SemaTemplateVariadic.cpp
|
|
SemaType.cpp
|
|
TargetAttributesSema.cpp
|
|
)
|
|
|
|
add_dependencies(clangSema
|
|
ClangARMNeon
|
|
ClangAttrClasses
|
|
ClangAttrList
|
|
ClangAttrParsedAttrList
|
|
ClangAttrParsedAttrKinds
|
|
ClangAttrTemplateInstantiate
|
|
ClangCommentNodes
|
|
ClangDeclNodes
|
|
ClangDiagnosticAST
|
|
ClangDiagnosticComment
|
|
ClangDiagnosticCommon
|
|
ClangDiagnosticParse
|
|
ClangDiagnosticSema
|
|
ClangStmtNodes
|
|
)
|
|
|
|
target_link_libraries(clangSema
|
|
clangAST
|
|
clangAnalysis
|
|
clangBasic
|
|
clangEdit
|
|
clangLex
|
|
)
|