2013-09-04 08:24:35 +08:00
|
|
|
set(LLVM_TARGET_DEFINITIONS DarwinLdOptions.td)
|
|
|
|
tablegen(LLVM DarwinLdOptions.inc -gen-opt-parser-defs)
|
2012-12-08 08:47:36 +08:00
|
|
|
add_public_tablegen_target(DriverOptionsTableGen)
|
|
|
|
|
2016-01-07 08:14:04 +08:00
|
|
|
add_lld_library(lldDriver
|
2013-04-05 02:59:24 +08:00
|
|
|
DarwinLdDriver.cpp
|
2016-01-07 08:14:09 +08:00
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${LLD_INCLUDE_DIR}/lld/Driver
|
|
|
|
|
2015-01-22 05:26:27 +08:00
|
|
|
LINK_LIBS
|
|
|
|
lldConfig
|
|
|
|
lldMachO
|
|
|
|
lldCore
|
|
|
|
lldReaderWriter
|
|
|
|
lldYAML
|
|
|
|
LLVMObject
|
|
|
|
LLVMOption
|
|
|
|
LLVMSupport
|
2012-12-08 08:47:36 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
add_dependencies(lldDriver DriverOptionsTableGen)
|