Revert "[lldb][test] Remove compiler version check and use regex" (#124101)
[llvm-project.git] / llvm / tools / llvm-readtapi / CMakeLists.txt
blob855a1473888f532e3cb172dc6af17de7ceedb175
1 set(LLVM_LINK_COMPONENTS
2   BinaryFormat
3   Object
4   Support
5   Option
6   TextAPI
7   TextAPIBinaryReader
8   )
10 set(LLVM_TARGET_DEFINITIONS TapiOpts.td)
11 tablegen(LLVM TapiOpts.inc -gen-opt-parser-defs)
12 add_public_tablegen_target(ReadTAPIOptsTableGen)
14 add_llvm_tool(llvm-readtapi
15   llvm-readtapi.cpp
16   DiffEngine.cpp
18   DEPENDS
19   ReadTAPIOptsTableGen
20   )
22 if(LLVM_INSTALL_BINUTILS_SYMLINKS)
23   add_llvm_tool_symlink(readtapi llvm-readtapi)
24 endif()