llvm-project/llvm/lib/LibDriver/CMakeLists.txt

9 lines
238 B
CMake
Raw Normal View History

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)