llvm-for-llvmta/lib/ToolDrivers/llvm-lib/CMakeLists.txt

27 lines
435 B
CMake

set(LLVM_LINK_COMPONENTS
BinaryFormat
BitReader
Object
Option
Support
)
set(LLVM_TARGET_DEFINITIONS Options.td)
tablegen(LLVM Options.inc -gen-opt-parser-defs)
add_public_tablegen_target(LibOptionsTableGen)
add_llvm_component_library(LLVMLibDriver
LibDriver.cpp
DEPENDS
intrinsics_gen
LINK_COMPONENTS
BinaryFormat
BitReader
Object
Option
Support
)
add_dependencies(LLVMLibDriver LibOptionsTableGen)