Bump version to 19.1.0git
[llvm-project.git] / lld / MachO / CMakeLists.txt
blob0b92488b00beac73b1bb65750e22f3558ec54909
1 set(LLVM_TARGET_DEFINITIONS Options.td)
2 tablegen(LLVM Options.inc -gen-opt-parser-defs)
3 add_public_tablegen_target(MachOOptionsTableGen)
5 include_directories(${LLVM_MAIN_SRC_DIR}/../libunwind/include)
7 add_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   SectionPriorities.cpp
29   SymbolTable.cpp
30   Symbols.cpp
31   SyntheticSections.cpp
32   Target.cpp
33   UnwindInfoSection.cpp
34   Writer.cpp
36   LINK_COMPONENTS
37   ${LLVM_TARGETS_TO_BUILD}
38   BinaryFormat
39   BitReader
40   BitWriter
41   Core
42   DebugInfoDWARF
43   Demangle
44   LTO
45   MC
46   ObjCARCOpts
47   Object
48   Option
49   Passes
50   Support
51   TargetParser
52   TextAPI
54   LINK_LIBS
55   lldCommon
56   ${LLVM_PTHREAD_LIB}
58   DEPENDS
59   MachOOptionsTableGen
60   ${tablegen_deps}
61   )