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
|
|
|
|
|
2017-01-09 17:57:08 +08:00
|
|
|
LINK_COMPONENTS
|
|
|
|
Option
|
|
|
|
Support
|
|
|
|
|
2015-01-22 05:26:27 +08:00
|
|
|
LINK_LIBS
|
2018-06-12 10:34:04 +08:00
|
|
|
lldCommon
|
2015-01-22 05:26:27 +08:00
|
|
|
lldCore
|
2017-10-12 07:18:43 +08:00
|
|
|
lldMachO
|
2015-01-22 05:26:27 +08:00
|
|
|
lldReaderWriter
|
|
|
|
lldYAML
|
2012-12-08 08:47:36 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
add_dependencies(lldDriver DriverOptionsTableGen)
|