2015-05-29 03:09:30 +08:00
|
|
|
set(LLVM_TARGET_DEFINITIONS Options.td)
|
|
|
|
tablegen(LLVM Options.inc -gen-opt-parser-defs)
|
|
|
|
add_public_tablegen_target(COFFOptionsTableGen)
|
|
|
|
|
2016-01-07 08:14:04 +08:00
|
|
|
add_lld_library(lldCOFF
|
2015-05-29 03:09:30 +08:00
|
|
|
Chunks.cpp
|
2015-06-07 09:15:04 +08:00
|
|
|
DLL.cpp
|
2015-05-29 03:09:30 +08:00
|
|
|
Driver.cpp
|
2015-05-29 04:30:06 +08:00
|
|
|
DriverUtils.cpp
|
2015-08-06 22:58:50 +08:00
|
|
|
Error.cpp
|
2015-06-25 04:40:03 +08:00
|
|
|
ICF.cpp
|
2015-05-29 03:09:30 +08:00
|
|
|
InputFiles.cpp
|
2016-07-13 11:19:27 +08:00
|
|
|
Librarian.cpp
|
2015-09-20 05:36:28 +08:00
|
|
|
MarkLive.cpp
|
2015-06-18 03:19:25 +08:00
|
|
|
ModuleDef.cpp
|
2015-12-05 07:11:05 +08:00
|
|
|
PDB.cpp
|
2015-05-29 03:09:30 +08:00
|
|
|
SymbolTable.cpp
|
|
|
|
Symbols.cpp
|
|
|
|
Writer.cpp
|
2015-06-02 04:10:10 +08:00
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
|
|
Core
|
2016-09-16 22:10:23 +08:00
|
|
|
DebugInfoMSF
|
2016-09-16 12:32:33 +08:00
|
|
|
DebugInfoPDB
|
2015-06-02 04:10:10 +08:00
|
|
|
LTO
|
2015-06-10 05:52:48 +08:00
|
|
|
LibDriver
|
2015-06-24 03:54:57 +08:00
|
|
|
Object
|
2015-06-02 04:10:10 +08:00
|
|
|
MC
|
|
|
|
MCDisassembler
|
2015-06-24 03:54:57 +08:00
|
|
|
Target
|
|
|
|
Option
|
2015-06-02 04:10:10 +08:00
|
|
|
Support
|
2016-03-01 23:56:53 +08:00
|
|
|
|
2016-07-26 10:00:42 +08:00
|
|
|
LINK_LIBS
|
|
|
|
lldCore
|
|
|
|
${PTHREAD_LIB}
|
2015-05-29 03:09:30 +08:00
|
|
|
)
|
|
|
|
|
2016-10-18 08:50:39 +08:00
|
|
|
add_dependencies(lldCOFF COFFOptionsTableGen intrinsics_gen)
|