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
|
2017-02-03 07:58:14 +08:00
|
|
|
LTO.cpp
|
2017-01-14 11:14:46 +08:00
|
|
|
MapFile.cpp
|
2015-09-20 05:36:28 +08:00
|
|
|
MarkLive.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}
|
2017-06-08 02:06:11 +08:00
|
|
|
BinaryFormat
|
2017-02-03 18:13:39 +08:00
|
|
|
BitReader
|
2015-06-02 04:10:10 +08:00
|
|
|
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
|
2017-02-10 09:59:20 +08:00
|
|
|
${LLVM_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
|
|
|
)
|