aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/zstd06/CMakeLists.txt
blob: dd544455462459d874c7c098d3079b5fcdf464d9 (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
add_library(contrib-libs-zstd06)
target_compile_options(contrib-libs-zstd06 PRIVATE
  -DZSTD_LEGACY_SUPPORT=1
)
target_include_directories(contrib-libs-zstd06 PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/common
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/compress
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/decompress
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/dictBuilder
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/legacy
)
target_link_libraries(contrib-libs-zstd06 PUBLIC
  contrib-libs-cxxsupp
)
target_sources(contrib-libs-zstd06 PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/common/entropy_common.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/common/fse_decompress.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/common/xxhash.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/common/zstd_common.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/compress/fse_compress.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/compress/huf_compress.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/compress/zbuff_compress.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/compress/zstd_compress.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/decompress/huf_decompress.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/decompress/zbuff_decompress.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/decompress/zstd_decompress.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/dictBuilder/divsufsort.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/dictBuilder/zdict.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/legacy/zstd_v01.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/legacy/zstd_v02.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/legacy/zstd_v03.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/legacy/zstd_v04.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/legacy/zstd_v05.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/legacy/zstd_v07.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/zstd06/legacy/zstd_v08.c
)