blob: ccc95a4d97ab6134f2afee684b75b828c1435d38 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# 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(contrib-libs-benchmark)
target_compile_options(contrib-libs-benchmark PUBLIC
-DBENCHMARK_STATIC_DEFINE
)
target_compile_options(contrib-libs-benchmark PRIVATE
-DHAVE_POSIX_REGEX
-DHAVE_STD_REGEX
-DHAVE_STEADY_CLOCK
$<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-benchmark PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/include
)
target_include_directories(contrib-libs-benchmark PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src
)
target_link_libraries(contrib-libs-benchmark PUBLIC
contrib-libs-cxxsupp
)
target_sources(contrib-libs-benchmark PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/benchmark.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/benchmark_api_internal.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/benchmark_name.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/benchmark_register.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/benchmark_runner.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/check.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/colorprint.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/commandlineflags.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/complexity.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/console_reporter.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/counter.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/csv_reporter.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/json_reporter.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/perf_counters.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/reporter.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/sleep.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/statistics.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/string_util.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/sysinfo.cc
${CMAKE_SOURCE_DIR}/contrib/libs/benchmark/src/timers.cc
)
|