forked from OSchip/llvm-project
23 lines
370 B
CMake
23 lines
370 B
CMake
|
|
add_flang_tool(bbc bbc.cpp
|
|
DEPENDS
|
|
FIROptCodeGenPassIncGen
|
|
)
|
|
|
|
llvm_update_compile_flags(bbc)
|
|
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
|
|
target_link_libraries(bbc PRIVATE
|
|
FIRDialect
|
|
FIRSupport
|
|
FIRTransforms
|
|
FIRBuilder
|
|
${dialect_libs}
|
|
MLIRAffineToStandard
|
|
MLIRSCFToControlFlow
|
|
FortranCommon
|
|
FortranParser
|
|
FortranEvaluate
|
|
FortranSemantics
|
|
FortranLower
|
|
)
|