# This file was generated by the YaTool build system (https://github.com/yandex/yatool),
# from a source YaTool build configuration provided in ya.make files.
#
# 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.
#
# Please refer to the build instructions in the repository for more information about manual
# changes in this file.

add_executable(gmtime_r)


target_link_libraries(gmtime_r PUBLIC
  contrib-libs-cxxsupp
  yutil
  build-cow-on
  cpp-testing-gbenchmark
  util-draft
)

target_allocator(gmtime_r
  system_allocator
)

target_link_options(gmtime_r PRIVATE
  -Wl,-platform_version,macos,11.0,11.0
  -fPIC
  -fPIC
)

target_sources(gmtime_r PRIVATE
  ${PROJECT_SOURCE_DIR}/util/datetime/benchmark/gmtime_r/main.cpp
)


add_test(
  NAME
  gmtime_r
  COMMAND
  gmtime_r
)

set_property(
  TEST
  gmtime_r
  PROPERTY
  LABELS
  SMALL
)

vcs_info(gmtime_r)

set_property(
  TEST
  gmtime_r
  PROPERTY
  PROCESSORS
  1
)
