68 lines · plain
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(lldMachO8 Arch/ARM64.cpp9 Arch/ARM64Common.cpp10 Arch/ARM64_32.cpp11 Arch/X86_64.cpp12 ConcatOutputSection.cpp13 Driver.cpp14 DriverUtils.cpp15 Dwarf.cpp16 EhFrame.cpp17 ExportTrie.cpp18 ICF.cpp19 InputFiles.cpp20 InputSection.cpp21 LinkerOptimizationHints.cpp22 LTO.cpp23 MapFile.cpp24 MarkLive.cpp25 ObjC.cpp26 OutputSection.cpp27 OutputSegment.cpp28 Relocations.cpp29 BPSectionOrderer.cpp30 SectionPriorities.cpp31 Sections.cpp32 SymbolTable.cpp33 Symbols.cpp34 SyntheticSections.cpp35 Target.cpp36 UnwindInfoSection.cpp37 Writer.cpp38 39 LINK_COMPONENTS40 ${LLVM_TARGETS_TO_BUILD}41 BinaryFormat42 BitReader43 BitWriter44 CGData45 Core46 DebugInfoDWARF47 Demangle48 LTO49 MC50 ObjCARCOpts51 Object52 Option53 Passes54 ProfileData55 Support56 TargetParser57 TextAPI58 59 LINK_LIBS60 lldCommon61 ${LLVM_PTHREAD_LIB}62 ${LLVM_ATOMIC_LIB}63 64 DEPENDS65 MachOOptionsTableGen66 ${tablegen_deps}67 )68