blob: 1a9c5ac72f1538a7c380ef65a991c03ac3cf5c05 [file] [log] [blame]
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
set(LIBS
FIRCodeGen
FIRDialect
FIRSupport
FIRTransforms
${dialect_libs}
MLIRIR
MLIRLLVMIR
MLIRPass
MLIRStandardToLLVM
MLIRTransforms
MLIRAffineToStandard
MLIRAnalysis
MLIRSCFToStandard
MLIRParser
MLIRStandardToLLVM
MLIRSupport
MLIRVectorToLLVM
)
add_flang_tool(tco tco.cpp)
target_link_libraries(tco PRIVATE ${LIBS})