llvm-project/llvm/tools/llvm-diff/CMakeLists.txt
Bill Wendling 4d293f215d [llvm-diff] Create libLLVMDiff library
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
2021-08-05 12:05:50 -07:00

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)