clang/lib/CIR/Lowering/CMakeLists.txt
raw| 1 | set(LLVM_LINK_COMPONENTS |
| 2 | Core |
| 3 | Support |
| 4 | ) |
| 5 | |
| 6 | get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS) |
| 7 | |
| 8 | add_clang_library(clangCIRLoweringCommon |
| 9 | CIRPasses.cpp |
| 10 | LoweringHelpers.cpp |
| 11 | |
| 12 | LINK_LIBS |
| 13 | clangCIR |
| 14 | ${dialect_libs} |
| 15 | MLIRCIR |
| 16 | MLIRCIRTransforms |
| 17 | MLIRTransforms |
| 18 | MLIRSupport |
| 19 | ) |
| 20 | |
| 21 | add_subdirectory(DirectToLLVM) |