blob: ded3c9b14771691db7950322a708e8f0a72042e4 [file]
# Set the .td file to be processed for this target.
set(LLVM_TARGET_DEFINITIONS Opts.td)
llvm_tablegen(Opts.inc -gen-opt-parser-defs)
add_public_tablegen_target(HelloSubTableGen)
set(LLVM_LINK_COMPONENTS
Support
Option
)
add_llvm_example(OptSubcommand
llvm-hello-sub.cpp
)
target_include_directories(OptSubcommand
PRIVATE
${CMAKE_CURRENT_BINARY_DIR}
)