llvm-project/mlir/lib/Dialect/StandardOps/CMakeLists.txt

10 lines
290 B
CMake

file(GLOB globbed *.c *.cpp)
add_llvm_library(MLIRStandardOps
${globbed}
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/StandardOps
)
add_dependencies(MLIRStandardOps MLIRStandardOpsIncGen MLIRIR LLVMSupport)
target_link_libraries(MLIRStandardOps MLIRIR LLVMSupport)