1 set(LLVM_LINK_COMPONENTS 2 asmparser 3 bitreader 4 bitwriter 5 irreader 6 instrumentation 7 ipo 8 linker 9 vectorize 10 ) 11 12 add_clang_library(clangCodeGen 13 BackendUtil.cpp 14 CGAtomic.cpp 15 CGBlocks.cpp 16 CGBuiltin.cpp 17 CGCall.cpp 18 CGClass.cpp 19 CGCUDANV.cpp 20 CGCUDARuntime.cpp 21 CGCXX.cpp 22 CGCXXABI.cpp 23 CGCleanup.cpp 24 CGDebugInfo.cpp 25 CGDecl.cpp 26 CGDeclCXX.cpp 27 CGException.cpp 28 CGExpr.cpp 29 CGExprAgg.cpp 30 CGExprComplex.cpp 31 CGExprConstant.cpp 32 CGExprCXX.cpp 33 CGExprScalar.cpp 34 CGObjC.cpp 35 CGObjCGNU.cpp 36 CGObjCMac.cpp 37 CGObjCRuntime.cpp 38 CGOpenCLRuntime.cpp 39 CGRecordLayoutBuilder.cpp 40 CGRTTI.cpp 41 CGStmt.cpp 42 CGVTables.cpp 43 CGVTT.cpp 44 CodeGenAction.cpp 45 CodeGenFunction.cpp 46 CodeGenModule.cpp 47 CodeGenTBAA.cpp 48 CodeGenTypes.cpp 49 ItaniumCXXABI.cpp 50 MicrosoftCXXABI.cpp 51 MicrosoftVBTables.cpp 52 ModuleBuilder.cpp 53 TargetInfo.cpp 54 ) 55 56 add_dependencies(clangCodeGen 57 ClangARMNeon 58 ClangAttrClasses 59 ClangAttrList 60 ClangCommentNodes 61 ClangDeclNodes 62 ClangDiagnosticCommon 63 ClangDiagnosticFrontend 64 ClangStmtNodes 65 ) 66 67 target_link_libraries(clangCodeGen 68 clangBasic 69 clangAST 70 clangFrontend 71 ) 72