]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lld/COFF/CMakeLists.txt
MFV r336952: 9192 explicitly pass good_writes to vdev_uberblock/label_sync
[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   Strings.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   )