[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / mlir / examples / transform / Ch2 / CMakeLists.txt
blob56aefefff754c85974d632a8ad935cc9bc3be84b
1 # For a better top-level template to copy, see examples/standalone.
3 include_directories(${CMAKE_CURRENT_BINARY_DIR})
4 include_directories(${CMAKE_CURRENT_BINARY_DIR}/include)
5 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
7 add_subdirectory(include)
8 add_subdirectory(lib)
10 add_dependencies(TransformExample transform-opt-ch2)
11 add_llvm_example(transform-opt-ch2
12   transform-opt/transform-opt.cpp)
14 target_link_libraries(transform-opt-ch2
15   PRIVATE
16   MLIRIR
17   MLIRMlirOptMain
18   MLIRSideEffectInterfaces
19   MyExtensionCh2