bolt/deps/llvm-18.1.8/mlir/examples/standalone/standalone-plugin/CMakeLists.txt
2025-02-14 19:21:04 +01:00

18 lines
391 B
CMake

add_llvm_library(StandalonePlugin
# BUILDTREE_ONLY is only for testing purposes
MODULE BUILDTREE_ONLY
standalone-plugin.cpp
DEPENDS
MLIRStandalone
PLUGIN_TOOL
mlir-opt
LINK_LIBS
MLIRStandalone
)
target_include_directories(
StandalonePlugin
PRIVATE
"${STANDALONE_BINARY_DIR}/include"
)