aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/brotli/enc/CMakeLists.txt
blob: 41c0e65a096719035639b19b5bfe444e9734c221 (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
add_library(libs-brotli-enc)
target_compile_options(libs-brotli-enc PRIVATE
  -DBROTLI_BUILD_PORTABLE
)
target_include_directories(libs-brotli-enc PUBLIC
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
)
target_include_directories(libs-brotli-enc PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
)
target_link_libraries(libs-brotli-enc PUBLIC
  contrib-libs-cxxsupp
  libs-brotli-common
  libs-brotli-dec
)
target_sources(libs-brotli-enc PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/backward_references.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/backward_references_hq.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/bit_cost.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/block_splitter.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/brotli_bit_stream.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/cluster.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/compress_fragment.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/compress_fragment_two_pass.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/dictionary_hash.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/encode.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/encoder_dict.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/entropy_encode.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/histogram.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/literal_cost.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/memory.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/metablock.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/static_dict.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/utf8_util.c
)