forked from OSchip/llvm-project
25 lines
471 B
CMake
25 lines
471 B
CMake
add_flang_tool(tco tco.cpp)
|
|
llvm_update_compile_flags(tco)
|
|
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
|
|
target_link_libraries(tco PRIVATE
|
|
FIRCodeGen
|
|
FIRDialect
|
|
FIRSupport
|
|
FIRTransforms
|
|
FIRBuilder
|
|
${dialect_libs}
|
|
MLIRIR
|
|
MLIRLLVMIR
|
|
MLIRLLVMToLLVMIRTranslation
|
|
MLIRTargetLLVMIRExport
|
|
MLIRPass
|
|
MLIRFuncToLLVM
|
|
MLIRTransforms
|
|
MLIRAffineToStandard
|
|
MLIRAnalysis
|
|
MLIRSCFToControlFlow
|
|
MLIRParser
|
|
MLIRSupport
|
|
MLIRVectorToLLVM
|
|
)
|