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-12-12 13:47:40 +08:00
|
|
|
if(NOT LLD_BUILT_STANDALONE)
|
|
|
|
set(tablegen_deps intrinsics_gen)
|
|
|
|
endif()
|
|
|
|
|
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
|
2017-01-14 11:14:46 +08:00
|
|
|
MapFile.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
|
2016-12-08 07:17:02 +08:00
|
|
|
Strings.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-11-24 06:58:25 +08:00
|
|
|
DebugInfoCodeView
|
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-11-17 12:36:35 +08:00
|
|
|
DEPENDS
|
|
|
|
COFFOptionsTableGen
|
2016-12-12 13:47:40 +08:00
|
|
|
${tablegen_deps}
|
2016-11-17 12:36:35 +08:00
|
|
|
)
|