blob: afc0bd1187f8733af0ba0abcad698f805a82042d [file] [log] [blame]
set(LLVM_TARGET_DEFINITIONS DarwinLdOptions.td)
tablegen(LLVM DarwinLdOptions.inc -gen-opt-parser-defs)
add_public_tablegen_target(DriverOptionsTableGen)
add_lld_library(lldDriver
DarwinLdDriver.cpp
ADDITIONAL_HEADER_DIRS
${LLD_INCLUDE_DIR}/lld/Driver
LINK_COMPONENTS
Option
Support
LINK_LIBS
lldCommon
lldCore
lldMachOOld
lldReaderWriter
lldYAML
)
add_dependencies(lldDriver DriverOptionsTableGen)