aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/xz/liblzma/CMakeLists.txt
blob: 445f4d33302a5ae2283c66577dc523b777bfaff1 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
add_library(libs-xz-liblzma)
target_compile_options(libs-xz-liblzma PUBLIC
  -DLZMA_API_STATIC
)
target_compile_options(libs-xz-liblzma PRIVATE
  -DHAVE_CONFIG_H
  -DTUKLIB_SYMBOL_PREFIX=lzma_
)
target_include_directories(libs-xz-liblzma PUBLIC
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/api
)
target_include_directories(libs-xz-liblzma PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/api
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/delta
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lz
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/rangecoder
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/common
)
target_link_libraries(libs-xz-liblzma PUBLIC
  contrib-libs-cxxsupp
  libs-xz-common
)
target_sources(libs-xz-liblzma PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/check.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/crc32_fast.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/crc32_table.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/crc64_fast.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/crc64_table.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/sha256.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/alone_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/alone_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/auto_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_buffer_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_buffer_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_header_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_header_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_util.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/common.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/easy_buffer_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/easy_decoder_memusage.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/easy_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/easy_encoder_memusage.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/easy_preset.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_buffer_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_buffer_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_common.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_flags_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_flags_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/hardware_cputhreads.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/index.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/index_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/index_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/index_hash.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/outqueue.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_buffer_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_buffer_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_encoder_mt.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_flags_common.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_flags_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_flags_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/vli_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/vli_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/vli_size.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/delta/delta_common.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/delta/delta_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/delta/delta_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lz/lz_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lz/lz_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lz/lz_encoder_mf.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/fastpos_table.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma2_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma2_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma_encoder_optimum_fast.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma_encoder_optimum_normal.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma_encoder_presets.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/rangecoder/price_table.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/arm.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/armthumb.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/ia64.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/powerpc.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/simple_coder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/simple_decoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/simple_encoder.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/sparc.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/x86.c
)