]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - wasm/CMakeLists.txt
Vendor import of lld release_70 branch r346007:
[FreeBSD/FreeBSD.git] / wasm / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Options.td)
2 tablegen(LLVM Options.inc -gen-opt-parser-defs)
3 add_public_tablegen_target(WasmOptionsTableGen)
4
5 if(NOT LLD_BUILT_STANDALONE)
6   set(tablegen_deps intrinsics_gen)
7 endif()
8
9 add_lld_library(lldWasm
10   Driver.cpp
11   InputChunks.cpp
12   InputFiles.cpp
13   LTO.cpp
14   MarkLive.cpp
15   OutputSections.cpp
16   SymbolTable.cpp
17   Symbols.cpp
18   Writer.cpp
19   WriterUtils.cpp
20
21   LINK_COMPONENTS
22   ${LLVM_TARGETS_TO_BUILD}
23   BinaryFormat
24   Core
25   Demangle
26   LTO
27   MC
28   Object
29   Option
30   Support
31
32   LINK_LIBS
33   lldCommon
34
35   DEPENDS
36   WasmOptionsTableGen
37   ${tablegen_deps}
38   )