25 lines · plain
1set(LLVM_LINK_COMPONENTS2 BinaryFormat3 Object4 Support5 Option6 TextAPI7 TextAPIBinaryReader8 )9 10set(LLVM_TARGET_DEFINITIONS TapiOpts.td)11tablegen(LLVM TapiOpts.inc -gen-opt-parser-defs)12add_public_tablegen_target(ReadTAPIOptsTableGen)13 14add_llvm_tool(llvm-readtapi15 llvm-readtapi.cpp16 DiffEngine.cpp17 18 DEPENDS19 ReadTAPIOptsTableGen20 )21 22if(LLVM_INSTALL_BINUTILS_SYMLINKS)23 add_llvm_tool_symlink(readtapi llvm-readtapi)24endif()25