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