]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lld/COFF/CMakeLists.txt
Merge ^/head r305346 through r305360.
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lld / COFF / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Options.td)
2 tablegen(LLVM Options.inc -gen-opt-parser-defs)
3 add_public_tablegen_target(COFFOptionsTableGen)
4
5 add_lld_library(lldCOFF
6   Chunks.cpp
7   DLL.cpp
8   Driver.cpp
9   DriverUtils.cpp
10   Error.cpp
11   ICF.cpp
12   InputFiles.cpp
13   Librarian.cpp
14   MarkLive.cpp
15   ModuleDef.cpp
16   PDB.cpp
17   SymbolTable.cpp
18   Symbols.cpp
19   Writer.cpp
20
21   LINK_COMPONENTS
22   ${LLVM_TARGETS_TO_BUILD}
23   Core
24   LTO
25   LibDriver
26   Object
27   MC
28   MCDisassembler
29   Target
30   Option
31   Support
32
33   LINK_LIBS ${PTHREAD_LIB}
34   )
35
36 add_dependencies(lldCOFF COFFOptionsTableGen)