mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 22:16:06 +00:00

Some tools may want to use the LLVM "diff" code. Move the code into a library for easy use. No functionality change intende. Differential Revision: https://reviews.llvm.org/D107392
16 lines
203 B
CMake
16 lines
203 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Core
|
|
IRReader
|
|
Support
|
|
)
|
|
|
|
add_llvm_tool(llvm-diff
|
|
llvm-diff.cpp
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
)
|
|
|
|
add_subdirectory(lib)
|
|
target_link_libraries(llvm-diff PRIVATE LLVMDiff)
|