llvm-project/clang/lib/CodeGen/CMakeLists.txt

75 lines
1.1 KiB
CMake

set(LLVM_LINK_COMPONENTS
BitReader
BitWriter
Core
IPO
IRReader
InstCombine
Instrumentation
Linker
MC
ObjCARCOpts
ProfileData
ScalarOpts
Support
Target
TransformUtils
)
add_clang_library(clangCodeGen
BackendUtil.cpp
CGAtomic.cpp
CGBlocks.cpp
CGBuiltin.cpp
CGCUDANV.cpp
CGCUDARuntime.cpp
CGCXX.cpp
CGCXXABI.cpp
CGCall.cpp
CGClass.cpp
CGCleanup.cpp
CGDebugInfo.cpp
CGDecl.cpp
CGDeclCXX.cpp
CGException.cpp
CGExpr.cpp
CGExprAgg.cpp
CGExprCXX.cpp
CGExprComplex.cpp
CGExprConstant.cpp
CGExprScalar.cpp
CGLoopInfo.cpp
CGObjC.cpp
CGObjCGNU.cpp
CGObjCMac.cpp
CGObjCRuntime.cpp
CGOpenCLRuntime.cpp
CGOpenMPRuntime.cpp
CGRTTI.cpp
CGRecordLayoutBuilder.cpp
CGStmt.cpp
CGStmtOpenMP.cpp
CGVTT.cpp
CGVTables.cpp
CodeGenABITypes.cpp
CodeGenAction.cpp
CodeGenFunction.cpp
CodeGenModule.cpp
CodeGenPGO.cpp
CodeGenTBAA.cpp
CodeGenTypes.cpp
ItaniumCXXABI.cpp
MicrosoftCXXABI.cpp
MicrosoftRTTI.cpp
ModuleBuilder.cpp
TargetInfo.cpp
DEPENDS
intrinsics_gen
LINK_LIBS
clangBasic
clangAST
clangFrontend
)