]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lld/COFF/CMakeLists.txt
Merge lld trunk r366426, and resolve conflicts.
[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 if(NOT LLD_BUILT_STANDALONE)
6   set(tablegen_deps intrinsics_gen)
7 endif()
8
9 add_lld_library(lldCOFF
10   Chunks.cpp
11   DebugTypes.cpp
12   DLL.cpp
13   Driver.cpp
14   DriverUtils.cpp
15   ICF.cpp
16   InputFiles.cpp
17   LTO.cpp
18   MapFile.cpp
19   MarkLive.cpp
20   MinGW.cpp
21   PDB.cpp
22   SymbolTable.cpp
23   Symbols.cpp
24   Writer.cpp
25
26   LINK_COMPONENTS
27   ${LLVM_TARGETS_TO_BUILD}
28   BinaryFormat
29   Core
30   DebugInfoCodeView
31   DebugInfoMSF
32   DebugInfoPDB
33   LibDriver
34   LTO
35   MC
36   Object
37   Option
38   Support
39   WindowsManifest
40
41   LINK_LIBS
42   lldCommon
43   ${LLVM_PTHREAD_LIB}
44
45   DEPENDS
46   COFFOptionsTableGen
47   ${tablegen_deps}
48   )