blob: 3729c6a57718c4b8f9cc0b30ac556a78a2324569 [file] [log] [blame]
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +00001set(LLVM_NO_RTTI 1)
2
3add_clang_library(clangCodeGen
Daniel Dunbar9b414d32010-06-15 17:48:49 +00004 BackendUtil.cpp
Mike Stump47837872009-02-13 15:42:50 +00005 CGBlocks.cpp
Ted Kremenekb3b73642009-07-15 21:08:41 +00006 CGBuiltin.cpp
Ted Kremenekb3b73642009-07-15 21:08:41 +00007 CGCall.cpp
Anders Carlsson5b955922009-11-24 05:51:11 +00008 CGClass.cpp
9 CGCXX.cpp
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +000010 CGDebugInfo.cpp
11 CGDecl.cpp
Anders Carlsson5ec2e7c2009-12-10 00:16:00 +000012 CGDeclCXX.cpp
Anders Carlsson756b5c42009-10-30 01:42:31 +000013 CGException.cpp
Ted Kremenekb3b73642009-07-15 21:08:41 +000014 CGExpr.cpp
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +000015 CGExprAgg.cpp
16 CGExprComplex.cpp
17 CGExprConstant.cpp
Anders Carlsson5b955922009-11-24 05:51:11 +000018 CGExprCXX.cpp
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +000019 CGExprScalar.cpp
20 CGObjC.cpp
21 CGObjCGNU.cpp
22 CGObjCMac.cpp
Douglas Gregorf6c4bc02009-07-23 15:15:06 +000023 CGRecordLayoutBuilder.cpp
Mike Stump0cb6c192009-12-02 18:32:08 +000024 CGRTTI.cpp
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +000025 CGStmt.cpp
Anders Carlsson5b955922009-11-24 05:51:11 +000026 CGTemporaries.cpp
Anders Carlsson461e3262010-04-08 16:30:25 +000027 CGVTables.cpp
Anders Carlsson58b7eee2010-01-21 16:50:45 +000028 CGVTT.cpp
Daniel Dunbar9b414d32010-06-15 17:48:49 +000029 CodeGenAction.cpp
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +000030 CodeGenFunction.cpp
31 CodeGenModule.cpp
32 CodeGenTypes.cpp
Charles Davis3a811f12010-05-25 19:52:27 +000033 ItaniumCXXABI.cpp
Douglas Gregor5f2bfd42009-02-13 00:10:09 +000034 Mangle.cpp
Charles Davisc3926642010-06-09 23:25:41 +000035 MicrosoftCXXABI.cpp
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +000036 ModuleBuilder.cpp
Anton Korobeynikovf3e27bf2010-01-10 13:06:34 +000037 TargetInfo.cpp
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +000038 )
Douglas Gregor71b1d0e2010-05-05 05:41:05 +000039
Michael J. Spencer5a7f3492010-09-10 21:13:16 +000040target_link_libraries(clangCodeGen
41 LLVMCore
42 LLVMAsmParser
43 LLVMBitReader
44 LLVMBitWriter
45 LLVMipo
46 )
47
48add_dependencies(clangCodeGen
Michael J. Spencer28709c12010-09-11 02:13:48 +000049 ClangARMNeon
Michael J. Spencer5a7f3492010-09-10 21:13:16 +000050 ClangAttrClasses
51 ClangAttrList
52 ClangDeclNodes
53 ClangStmtNodes
Michael J. Spencer28709c12010-09-11 02:13:48 +000054 ClangDiagnosticFrontend
Michael J. Spencer5a7f3492010-09-10 21:13:16 +000055 )