2013-10-24 12:23:02 +08:00
|
|
|
set(LLVM_TARGET_DEFINITIONS UniversalDriverOptions.td)
|
|
|
|
tablegen(LLVM UniversalDriverOptions.inc -gen-opt-parser-defs)
|
2013-09-04 08:24:35 +08:00
|
|
|
set(LLVM_TARGET_DEFINITIONS GnuLdOptions.td)
|
|
|
|
tablegen(LLVM GnuLdOptions.inc -gen-opt-parser-defs)
|
2012-12-08 08:47:36 +08:00
|
|
|
set(LLVM_TARGET_DEFINITIONS CoreOptions.td)
|
|
|
|
tablegen(LLVM CoreOptions.inc -gen-opt-parser-defs)
|
2013-09-04 08:24:35 +08:00
|
|
|
set(LLVM_TARGET_DEFINITIONS DarwinLdOptions.td)
|
|
|
|
tablegen(LLVM DarwinLdOptions.inc -gen-opt-parser-defs)
|
2013-05-29 02:13:31 +08:00
|
|
|
set(LLVM_TARGET_DEFINITIONS WinLinkOptions.td)
|
|
|
|
tablegen(LLVM WinLinkOptions.inc -gen-opt-parser-defs)
|
2012-12-08 08:47:36 +08:00
|
|
|
add_public_tablegen_target(DriverOptionsTableGen)
|
|
|
|
|
|
|
|
add_lld_library(lldDriver
|
2013-04-05 02:59:24 +08:00
|
|
|
CoreDriver.cpp
|
2014-09-30 07:04:24 +08:00
|
|
|
DarwinInputGraph.cpp
|
2013-04-05 02:59:24 +08:00
|
|
|
DarwinLdDriver.cpp
|
2012-12-08 08:47:36 +08:00
|
|
|
Driver.cpp
|
2013-04-05 02:59:24 +08:00
|
|
|
GnuLdDriver.cpp
|
2013-11-25 06:29:19 +08:00
|
|
|
GnuLdInputGraph.cpp
|
2014-05-02 05:40:22 +08:00
|
|
|
UniversalDriver.cpp
|
2013-05-29 02:13:31 +08:00
|
|
|
WinLinkDriver.cpp
|
2013-11-21 07:51:41 +08:00
|
|
|
WinLinkInputGraph.cpp
|
2014-01-10 18:19:47 +08:00
|
|
|
WinLinkModuleDef.cpp
|
2012-12-08 08:47:36 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
add_dependencies(lldDriver DriverOptionsTableGen)
|
|
|
|
|
|
|
|
target_link_libraries(lldDriver
|
|
|
|
lldPasses
|
|
|
|
lldMachO
|
|
|
|
lldPECOFF
|
|
|
|
lldELF
|
2013-10-07 10:47:09 +08:00
|
|
|
lldCore
|
2012-12-08 08:47:36 +08:00
|
|
|
lldNative
|
|
|
|
lldReaderWriter
|
|
|
|
lldYAML
|
|
|
|
LLVMObject
|
|
|
|
LLVMOption
|
|
|
|
LLVMSupport
|
|
|
|
)
|