llvm-project/flang/tools/tco/CMakeLists.txt

25 lines
414 B
CMake

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})