aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/google/benchmark/CMakeLists.linux-x86_64.txt
blob: a18f8b09637894fd477a4a2292e8e114473fce0d (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
51
52
# 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
)