forked from OSchip/llvm-project
[mlir] Restructure Shape dialect's CMakeLists.
Now targets are only built with files in the same directory. Differential Revision: https://reviews.llvm.org/D81328
This commit is contained in:
parent
4214031d43
commit
5d77bd733e
|
@ -1,16 +1 @@
|
||||||
add_mlir_dialect_library(MLIRShape
|
add_subdirectory(IR)
|
||||||
IR/Shape.cpp
|
|
||||||
|
|
||||||
ADDITIONAL_HEADER_DIRS
|
|
||||||
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Shape
|
|
||||||
|
|
||||||
DEPENDS
|
|
||||||
MLIRShapeOpsIncGen
|
|
||||||
|
|
||||||
LINK_LIBS PUBLIC
|
|
||||||
MLIRControlFlowInterfaces
|
|
||||||
MLIRDialect
|
|
||||||
MLIRInferTypeOpInterface
|
|
||||||
MLIRIR
|
|
||||||
MLIRSideEffectInterfaces
|
|
||||||
)
|
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
add_mlir_dialect_library(MLIRShape
|
||||||
|
Shape.cpp
|
||||||
|
|
||||||
|
ADDITIONAL_HEADER_DIRS
|
||||||
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Shape
|
||||||
|
|
||||||
|
DEPENDS
|
||||||
|
MLIRShapeOpsIncGen
|
||||||
|
|
||||||
|
LINK_LIBS PUBLIC
|
||||||
|
MLIRControlFlowInterfaces
|
||||||
|
MLIRDialect
|
||||||
|
MLIRInferTypeOpInterface
|
||||||
|
MLIRIR
|
||||||
|
MLIRSideEffectInterfaces
|
||||||
|
)
|
Loading…
Reference in New Issue