2011-02-12 07:46:38 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
asmparser
|
|
|
|
bitreader
|
|
|
|
bitwriter
|
2011-04-22 07:44:07 +08:00
|
|
|
instrumentation
|
2011-02-12 07:46:38 +08:00
|
|
|
ipo
|
2011-11-11 04:07:09 +08:00
|
|
|
linker
|
2012-02-02 03:53:01 +08:00
|
|
|
vectorize
|
2011-02-12 07:46:38 +08:00
|
|
|
)
|
|
|
|
|
2008-10-26 08:56:18 +08:00
|
|
|
add_clang_library(clangCodeGen
|
2010-06-16 01:48:49 +08:00
|
|
|
BackendUtil.cpp
|
2009-02-13 23:42:50 +08:00
|
|
|
CGBlocks.cpp
|
2009-07-16 05:08:41 +08:00
|
|
|
CGBuiltin.cpp
|
|
|
|
CGCall.cpp
|
2009-11-24 13:51:11 +08:00
|
|
|
CGClass.cpp
|
2011-10-07 02:29:37 +08:00
|
|
|
CGCUDANV.cpp
|
|
|
|
CGCUDARuntime.cpp
|
2009-11-24 13:51:11 +08:00
|
|
|
CGCXX.cpp
|
2010-11-29 01:46:52 +08:00
|
|
|
CGCXXABI.cpp
|
2011-01-29 04:10:46 +08:00
|
|
|
CGCleanup.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
CGDebugInfo.cpp
|
|
|
|
CGDecl.cpp
|
2009-12-10 08:16:00 +08:00
|
|
|
CGDeclCXX.cpp
|
2009-10-30 09:42:31 +08:00
|
|
|
CGException.cpp
|
2009-07-16 05:08:41 +08:00
|
|
|
CGExpr.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
CGExprAgg.cpp
|
|
|
|
CGExprComplex.cpp
|
|
|
|
CGExprConstant.cpp
|
2009-11-24 13:51:11 +08:00
|
|
|
CGExprCXX.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
CGExprScalar.cpp
|
|
|
|
CGObjC.cpp
|
|
|
|
CGObjCGNU.cpp
|
|
|
|
CGObjCMac.cpp
|
2011-03-25 22:16:48 +08:00
|
|
|
CGObjCRuntime.cpp
|
2011-09-20 05:14:35 +08:00
|
|
|
CGOpenCLRuntime.cpp
|
2009-07-23 23:15:06 +08:00
|
|
|
CGRecordLayoutBuilder.cpp
|
2009-12-03 02:32:08 +08:00
|
|
|
CGRTTI.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
CGStmt.cpp
|
2010-04-09 00:30:25 +08:00
|
|
|
CGVTables.cpp
|
2010-01-22 00:50:45 +08:00
|
|
|
CGVTT.cpp
|
2010-06-16 01:48:49 +08:00
|
|
|
CodeGenAction.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
CodeGenFunction.cpp
|
|
|
|
CodeGenModule.cpp
|
2010-10-15 08:39:31 +08:00
|
|
|
CodeGenTBAA.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
CodeGenTypes.cpp
|
2010-05-26 03:52:27 +08:00
|
|
|
ItaniumCXXABI.cpp
|
2010-06-10 07:25:41 +08:00
|
|
|
MicrosoftCXXABI.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
ModuleBuilder.cpp
|
2010-01-10 21:06:34 +08:00
|
|
|
TargetInfo.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
)
|
2010-05-05 13:41:05 +08:00
|
|
|
|
2012-06-21 09:30:21 +08:00
|
|
|
add_dependencies(clangCodeGen
|
2012-07-27 14:18:33 +08:00
|
|
|
ClangARMNeon
|
2012-06-21 09:30:21 +08:00
|
|
|
ClangAttrClasses
|
|
|
|
ClangAttrList
|
2012-07-06 08:28:32 +08:00
|
|
|
ClangCommentNodes
|
2012-06-21 09:30:21 +08:00
|
|
|
ClangDeclNodes
|
2012-07-27 14:18:33 +08:00
|
|
|
ClangDiagnosticCommon
|
|
|
|
ClangDiagnosticFrontend
|
2012-06-21 09:30:21 +08:00
|
|
|
ClangStmtNodes
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(clangCodeGen
|
|
|
|
clangBasic
|
|
|
|
clangAST
|
|
|
|
clangFrontend
|
|
|
|
)
|