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

10 lines
268 B
CMake

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