aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm12/lib/Object/CMakeLists.txt
blob: 283ed74ed51f0604b7edcbccb8921926879080e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
add_library(llvm12-lib-Object)
target_include_directories(llvm12-lib-Object PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object
)
target_link_libraries(llvm12-lib-Object PUBLIC
  contrib-libs-cxxsupp
  contrib-libs-llvm12
  libs-llvm12-include
  llvm12-lib-BinaryFormat
  lib-Bitcode-Reader
  llvm12-lib-IR
  llvm12-lib-MC
  lib-MC-MCParser
  llvm12-lib-Support
  lib-TextAPI-MachO
)
target_sources(llvm12-lib-Object PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/Archive.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/ArchiveWriter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/Binary.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/COFFImportFile.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/COFFModuleDefinition.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/COFFObjectFile.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/Decompressor.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/ELF.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/ELFObjectFile.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/Error.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/IRObjectFile.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/IRSymtab.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/MachOObjectFile.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/MachOUniversal.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/MachOUniversalWriter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/Minidump.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/ModuleSymbolTable.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/Object.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/ObjectFile.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/RecordStreamer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/RelocationResolver.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/SymbolSize.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/SymbolicFile.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/TapiFile.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/TapiUniversal.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/WasmObjectFile.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/WindowsMachineFlag.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/WindowsResource.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Object/XCOFFObjectFile.cpp
)