2015-07-25 05:03:07 +08:00
|
|
|
set(LLVM_TARGET_DEFINITIONS Options.td)
|
|
|
|
tablegen(LLVM Options.inc -gen-opt-parser-defs)
|
|
|
|
add_public_tablegen_target(ELFOptionsTableGen)
|
|
|
|
|
|
|
|
add_llvm_library(lldELF2
|
|
|
|
Driver.cpp
|
|
|
|
DriverUtils.cpp
|
2015-08-06 23:08:23 +08:00
|
|
|
Error.cpp
|
2015-07-25 05:03:07 +08:00
|
|
|
InputFiles.cpp
|
2015-09-22 08:01:39 +08:00
|
|
|
InputSection.cpp
|
2015-10-01 01:23:26 +08:00
|
|
|
LinkerScript.cpp
|
2015-09-22 05:38:08 +08:00
|
|
|
OutputSections.cpp
|
2015-07-25 05:03:07 +08:00
|
|
|
SymbolTable.cpp
|
|
|
|
Symbols.cpp
|
2015-09-23 02:19:46 +08:00
|
|
|
Target.cpp
|
2015-07-25 05:03:07 +08:00
|
|
|
Writer.cpp
|
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Object
|
|
|
|
Option
|
2015-08-12 08:00:24 +08:00
|
|
|
MC
|
2015-07-25 05:03:07 +08:00
|
|
|
Support
|
|
|
|
)
|
|
|
|
|
|
|
|
add_dependencies(lldELF2 ELFOptionsTableGen)
|