forked from OSchip/llvm-project
16 lines
311 B
CMake
16 lines
311 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
BinaryFormat
|
|
Object
|
|
Option
|
|
Support
|
|
)
|
|
|
|
set(LLVM_TARGET_DEFINITIONS Options.td)
|
|
tablegen(LLVM Options.inc -gen-opt-parser-defs)
|
|
add_public_tablegen_target(LibOptionsTableGen)
|
|
|
|
add_llvm_library(LLVMLibDriver
|
|
LibDriver.cpp
|
|
)
|
|
add_dependencies(LLVMLibDriver LibOptionsTableGen)
|