CMakeLists.linux-x86_64.txt 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # This file was generated by the build system used internally in the Yandex monorepo.
  2. # Only simple modifications are allowed (adding source-files to targets, adding simple properties
  3. # like target_include_directories). These modifications will be ported to original
  4. # ya.make files by maintainers. Any complex modifications which can't be ported back to the
  5. # original buildsystem will not be accepted.
  6. add_library(restricted-google-benchmark)
  7. target_compile_options(restricted-google-benchmark PUBLIC
  8. -DBENCHMARK_STATIC_DEFINE
  9. )
  10. target_compile_options(restricted-google-benchmark PRIVATE
  11. -DHAVE_POSIX_REGEX
  12. -DHAVE_PTHREAD_AFFINITY
  13. -DHAVE_STD_REGEX
  14. -DHAVE_STEADY_CLOCK
  15. -DBENCHMARK_HAS_PTHREAD_AFFINITY
  16. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  17. )
  18. target_include_directories(restricted-google-benchmark PUBLIC
  19. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/include
  20. )
  21. target_include_directories(restricted-google-benchmark PRIVATE
  22. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src
  23. )
  24. target_link_libraries(restricted-google-benchmark PUBLIC
  25. contrib-libs-linux-headers
  26. contrib-libs-cxxsupp
  27. )
  28. target_sources(restricted-google-benchmark PRIVATE
  29. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/benchmark.cc
  30. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/benchmark_api_internal.cc
  31. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/benchmark_name.cc
  32. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/benchmark_register.cc
  33. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/benchmark_runner.cc
  34. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/check.cc
  35. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/colorprint.cc
  36. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/commandlineflags.cc
  37. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/complexity.cc
  38. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/console_reporter.cc
  39. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/counter.cc
  40. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/csv_reporter.cc
  41. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/json_reporter.cc
  42. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/perf_counters.cc
  43. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/reporter.cc
  44. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/statistics.cc
  45. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/string_util.cc
  46. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/sysinfo.cc
  47. ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/timers.cc
  48. )