
# This file was generated by the build system used internally in Yandex and called "ya"
# (https://github.com/yandex/yatool).
#
# Configuration files of ya build system are usually named ya.make. If ya.make file is present
# at the root of the repository, then this repository supports ya build. 
# 
# If the repository supports both CMake and ya build configurations, please modify both of them.
#
# If only CMake build configuration is supported then modify only CMake files and note that only
# simple modifications are allowed like adding source-files to targets or adding simple properties
# like target_include_directories. These modifications will be ported to original ya.make files
# by maintainers. Any complex modifications which can't be easily ported back to the ya build 
# system may be rejected.

add_library(contrib-libs-lzmasdk)


target_compile_options(contrib-libs-lzmasdk PRIVATE
  -D_7ZIP_ST=1
)

target_link_libraries(contrib-libs-lzmasdk PUBLIC
  contrib-libs-cxxsupp
)

target_sources(contrib-libs-lzmasdk PRIVATE
  ${PROJECT_SOURCE_DIR}/contrib/libs/lzmasdk/7zStream.c
  ${PROJECT_SOURCE_DIR}/contrib/libs/lzmasdk/Aes.c
  ${PROJECT_SOURCE_DIR}/contrib/libs/lzmasdk/AesOpt.c
  ${PROJECT_SOURCE_DIR}/contrib/libs/lzmasdk/Alloc.c
  ${PROJECT_SOURCE_DIR}/contrib/libs/lzmasdk/Bra.c
  ${PROJECT_SOURCE_DIR}/contrib/libs/lzmasdk/Bra86.c
  ${PROJECT_SOURCE_DIR}/contrib/libs/lzmasdk/BraIA64.c
  ${PROJECT_SOURCE_DIR}/contrib/libs/lzmasdk/CpuArch.c
  ${PROJECT_SOURCE_DIR}/contrib/libs/lzmasdk/LzFind.c
  ${PROJECT_SOURCE_DIR}/contrib/libs/lzmasdk/Lzma2Dec.c
  ${PROJECT_SOURCE_DIR}/contrib/libs/lzmasdk/Lzma2Enc.c
  ${PROJECT_SOURCE_DIR}/contrib/libs/lzmasdk/LzmaDec.c
  ${PROJECT_SOURCE_DIR}/contrib/libs/lzmasdk/LzmaEnc.c
  ${PROJECT_SOURCE_DIR}/contrib/libs/lzmasdk/LzmaLib.c
  ${PROJECT_SOURCE_DIR}/contrib/libs/lzmasdk/Sha256.c
)






