aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/encode/spack/CMakeLists.txt
blob: e6372ee6513059dbddf76e4bf2ea3f501776644f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
find_package(ZLIB)

add_library(monlib-encode-spack)
target_link_libraries(monlib-encode-spack PUBLIC
  contrib-libs-cxxsupp
  yutil
  monlib-encode-buffered
  cpp-monlib-exception
  contrib-libs-lz4
  contrib-libs-xxhash
  ZLIB::ZLIB
  contrib-libs-zstd
)
target_sources(monlib-encode-spack PRIVATE
  ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/spack_v1_decoder.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/spack_v1_encoder.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/varint.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/compression.cpp
)