1set(LLVM_TARGET_DEFINITIONS Options.td)
2tablegen(LLVM Options.inc -gen-opt-parser-defs)
3add_public_tablegen_target(WasmOptionsTableGen)
4
5add_lld_library(lldWasm
6  Driver.cpp
7  InputChunks.cpp
8  InputFiles.cpp
9  LTO.cpp
10  MapFile.cpp
11  MarkLive.cpp
12  OutputSections.cpp
13  Relocations.cpp
14  SymbolTable.cpp
15  Symbols.cpp
16  SyntheticSections.cpp
17  Writer.cpp
18  WriterUtils.cpp
19
20  LINK_COMPONENTS
21  ${LLVM_TARGETS_TO_BUILD}
22  BinaryFormat
23  Core
24  Demangle
25  LTO
26  MC
27  Object
28  Option
29  Passes
30  Support
31
32  LINK_LIBS
33  lldCommon
34
35  DEPENDS
36  WasmOptionsTableGen
37  intrinsics_gen
38  )
39