1# Exclude tests from libMLIR.so 2add_mlir_library(MLIRTestIR 3 TestFunc.cpp 4 TestInterfaces.cpp 5 TestMatchers.cpp 6 TestPrintDefUse.cpp 7 TestPrintNesting.cpp 8 TestSideEffects.cpp 9 TestSlicing.cpp 10 TestSymbolUses.cpp 11 TestTypes.cpp 12 13 EXCLUDE_FROM_LIBMLIR 14 15 LINK_LIBS PUBLIC 16 MLIRPass 17 MLIRTestDialect 18 ) 19include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../Dialect/Test) 20include_directories(${CMAKE_CURRENT_BINARY_DIR}/../Dialect/Test) 21