12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- # This file was generated by the build system used internally in the Yandex monorepo.
- # Only simple modifications are allowed (adding source-files to targets, 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 ported back to the
- # original buildsystem will not be accepted.
- add_library(restricted-google-benchmark)
- target_compile_options(restricted-google-benchmark PUBLIC
- -DBENCHMARK_STATIC_DEFINE
- )
- target_compile_options(restricted-google-benchmark PRIVATE
- -DHAVE_POSIX_REGEX
- -DHAVE_PTHREAD_AFFINITY
- -DHAVE_STD_REGEX
- -DHAVE_STEADY_CLOCK
- -DBENCHMARK_HAS_PTHREAD_AFFINITY
- $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
- )
- target_include_directories(restricted-google-benchmark PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/include
- )
- target_include_directories(restricted-google-benchmark PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src
- )
- target_link_libraries(restricted-google-benchmark PUBLIC
- contrib-libs-linux-headers
- contrib-libs-cxxsupp
- )
- target_sources(restricted-google-benchmark PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/benchmark.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/benchmark_api_internal.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/benchmark_name.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/benchmark_register.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/benchmark_runner.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/check.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/colorprint.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/commandlineflags.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/complexity.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/console_reporter.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/counter.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/csv_reporter.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/json_reporter.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/perf_counters.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/reporter.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/statistics.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/string_util.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/sysinfo.cc
- ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/timers.cc
- )
|