llvm-capstone/mlir/lib/Pass/CMakeLists.txt
Stephen Neuendorffer d3530e95f1 [MLIR][cmake] don't glob for sources.
Generally speaking, this is bad practice.  It also causes the build to
break if there are editor temporary files.

Differential Revision: https://reviews.llvm.org/D79906
2020-05-13 23:21:01 -07:00

19 lines
281 B
CMake

add_mlir_library(MLIRPass
IRPrinting.cpp
Pass.cpp
PassManagerOptions.cpp
PassRegistry.cpp
PassStatistics.cpp
PassTiming.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Pass
DEPENDS
mlir-generic-headers
LINK_LIBS PUBLIC
MLIRAnalysis
MLIRIR
)