forked from OSchip/llvm-project
21 lines
368 B
CMake
21 lines
368 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Core
|
|
Object
|
|
Option
|
|
Support
|
|
)
|
|
|
|
set(LLVM_TARGET_DEFINITIONS Opts.td)
|
|
tablegen(LLVM Opts.inc -gen-opt-parser-defs)
|
|
add_public_tablegen_target(StringsOptsTableGen)
|
|
|
|
add_llvm_tool(llvm-strings
|
|
llvm-strings.cpp
|
|
DEPENDS
|
|
StringsOptsTableGen
|
|
)
|
|
|
|
if(LLVM_INSTALL_BINUTILS_SYMLINKS)
|
|
add_llvm_tool_symlink(strings llvm-strings)
|
|
endif()
|