1set(LLVM_TARGET_DEFINITIONS Options.td) 2tablegen(LLVM Options.inc -gen-opt-parser-defs) 3add_public_tablegen_target(MachOOptionsTableGen) 4 5include_directories(${LLVM_MAIN_SRC_DIR}/../libunwind/include) 6 7add_lld_library(lldMachO 8 Arch/ARM64.cpp 9 Arch/ARM64Common.cpp 10 Arch/ARM64_32.cpp 11 Arch/X86_64.cpp 12 ConcatOutputSection.cpp 13 Driver.cpp 14 DriverUtils.cpp 15 Dwarf.cpp 16 EhFrame.cpp 17 ExportTrie.cpp 18 ICF.cpp 19 InputFiles.cpp 20 InputSection.cpp 21 LTO.cpp 22 MapFile.cpp 23 MarkLive.cpp 24 ObjC.cpp 25 OutputSection.cpp 26 OutputSegment.cpp 27 Relocations.cpp 28 BPSectionOrderer.cpp 29 SectionPriorities.cpp 30 Sections.cpp 31 SymbolTable.cpp 32 Symbols.cpp 33 SyntheticSections.cpp 34 Target.cpp 35 UnwindInfoSection.cpp 36 Writer.cpp 37 38 LINK_COMPONENTS 39 ${LLVM_TARGETS_TO_BUILD} 40 BinaryFormat 41 BitReader 42 BitWriter 43 CGData 44 Core 45 DebugInfoDWARF 46 Demangle 47 LTO 48 MC 49 ObjCARCOpts 50 Object 51 Option 52 Passes 53 ProfileData 54 Support 55 TargetParser 56 TextAPI 57 58 LINK_LIBS 59 lldCommon 60 ${LLVM_PTHREAD_LIB} 61 62 DEPENDS 63 MachOOptionsTableGen 64 ${tablegen_deps} 65 ) 66