Add CMakeLists.txt for AffineToStandard conversion
authorAlex Zinenko <zinenko@google.com>
Thu, 14 Nov 2019 19:16:47 +0000 (11:16 -0800)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 14 Nov 2019 19:28:29 +0000 (11:28 -0800)
PiperOrigin-RevId: 280470142

mlir/lib/Conversion/AffineToStandard/CMakeLists.txt [new file with mode: 0644]

diff --git a/mlir/lib/Conversion/AffineToStandard/CMakeLists.txt b/mlir/lib/Conversion/AffineToStandard/CMakeLists.txt
new file mode 100644 (file)
index 0000000..33f7db7
--- /dev/null
@@ -0,0 +1,24 @@
+add_llvm_library(MLIRAffineToStandard
+  AffineToStandard.cpp
+
+  ADDITIONAL_HEADER_DIRS
+  ${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/AffineToStandard
+)
+add_dependencies(
+  MLIRAffineToStandard
+
+  MLIRAffineOps
+  MLIRStandardOps
+  MLIRIR
+  LLVMCore
+  LLVMSupport
+)
+target_link_libraries(
+  MLIRAffineToStandard
+
+  MLIRAffineOps
+  MLIRStandardOps
+  MLIRIR
+  LLVMCore
+  LLVMSupport
+)