llvm-project/mlir/test/lib/Reducer/CMakeLists.txt

18 lines
256 B
CMake

# Exclude tests from libMLIR.so
add_mlir_library(MLIRTestReducer
MLIRTestReducer.cpp
EXCLUDE_FROM_LIBMLIR
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/IR
LINK_COMPONENTS
Core
LINK_LIBS PUBLIC
MLIRIR
MLIRPass
MLIRSupport
)