xref: /openbsd-src/gnu/llvm/llvm/lib/ToolDrivers/llvm-lib/CMakeLists.txt (revision d415bd752c734aee168c4ee86ff32e8cc249eb16)
109467b48Spatrickset(LLVM_LINK_COMPONENTS
209467b48Spatrick  BinaryFormat
309467b48Spatrick  BitReader
409467b48Spatrick  Object
509467b48Spatrick  Option
609467b48Spatrick  Support
709467b48Spatrick  )
809467b48Spatrick
909467b48Spatrickset(LLVM_TARGET_DEFINITIONS Options.td)
1009467b48Spatricktablegen(LLVM Options.inc -gen-opt-parser-defs)
1109467b48Spatrickadd_public_tablegen_target(LibOptionsTableGen)
1209467b48Spatrick
1309467b48Spatrickadd_llvm_component_library(LLVMLibDriver
1409467b48Spatrick  LibDriver.cpp
1509467b48Spatrick
1609467b48Spatrick  DEPENDS
1709467b48Spatrick  intrinsics_gen
1873471bf0Spatrick
1973471bf0Spatrick  LINK_COMPONENTS
2073471bf0Spatrick  BinaryFormat
2173471bf0Spatrick  BitReader
2273471bf0Spatrick  Object
2373471bf0Spatrick  Option
2473471bf0Spatrick  Support
25*d415bd75Srobert  TargetParser
2609467b48Spatrick  )
2709467b48Spatrickadd_dependencies(LLVMLibDriver LibOptionsTableGen)
28