Skip to content

Commit

Permalink
cmake: Add pcode translation dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Sep 11, 2024
1 parent 5d5cba4 commit 4a3e047
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion tools/pcode-translate/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,24 @@
# is licensed in accordance with the terms specified in the LICENSE file found
# in the root directory of this source tree.

set(LLVM_LINK_COMPONENTS
Support
)


add_executable(pcode-translate
main.cpp
)

llvm_update_compile_flags(pcode-translate)
target_link_libraries(pcode-translate
PRIVATE
${MLIR_LIBS}
MLIRIR
MLIRParser
MLIRPass
MLIRTranslateLib
MLIRSupport
patchestry::ghidra
)

mlir_check_link_libraries(pcode-translate)

0 comments on commit 4a3e047

Please sign in to comment.