]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lld/COFF/CMakeLists.txt
Merge clang 7.0.1 and several follow-up changes
[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   DLL.cpp
12   Driver.cpp
13   DriverUtils.cpp
14   ICF.cpp
15   InputFiles.cpp
16   LTO.cpp
17   MapFile.cpp
18   MarkLive.cpp
19   MinGW.cpp
20   PDB.cpp
21   SymbolTable.cpp
22   Symbols.cpp
23   Writer.cpp
24
25   LINK_COMPONENTS
26   ${LLVM_TARGETS_TO_BUILD}
27   BinaryFormat
28   Core
29   DebugInfoCodeView
30   DebugInfoMSF
31   DebugInfoPDB
32   LibDriver
33   LTO
34   MC
35   Object
36   Option
37   Support
38   WindowsManifest
39
40   LINK_LIBS
41   lldCommon
42   ${LLVM_PTHREAD_LIB}
43
44   DEPENDS
45   COFFOptionsTableGen
46   ${tablegen_deps}
47   )