
# 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(abseil-cpp-absl-synchronization)


target_compile_options(abseil-cpp-absl-synchronization PRIVATE
  $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)

target_include_directories(abseil-cpp-absl-synchronization PUBLIC
  ${PROJECT_SOURCE_DIR}/contrib/restricted/abseil-cpp
)

target_link_libraries(abseil-cpp-absl-synchronization PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  abseil-cpp-absl-base
  abseil-cpp-absl-debugging
  abseil-cpp-absl-numeric
  abseil-cpp-absl-strings
  abseil-cpp-absl-time
)

target_sources(abseil-cpp-absl-synchronization PRIVATE
  ${PROJECT_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/barrier.cc
  ${PROJECT_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/blocking_counter.cc
  ${PROJECT_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc
  ${PROJECT_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/futex_waiter.cc
  ${PROJECT_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/graphcycles.cc
  ${PROJECT_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/kernel_timeout.cc
  ${PROJECT_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc
  ${PROJECT_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/pthread_waiter.cc
  ${PROJECT_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/sem_waiter.cc
  ${PROJECT_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.cc
  ${PROJECT_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/waiter_base.cc
  ${PROJECT_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/win32_waiter.cc
  ${PROJECT_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/mutex.cc
  ${PROJECT_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/notification.cc
)






