diff options
author | thegeorg <thegeorg@yandex-team.com> | 2023-06-08 13:56:44 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2023-06-08 13:56:44 +0300 |
commit | 40479c2d3d1e9bd3eb213aba537570d28d37d8a2 (patch) | |
tree | 9a275dff7a8b4b20f6c7f33022a7ef800d7a4063 /library/cpp/testing/gbenchmark/CMakeLists.linux-x86_64.txt | |
parent | 74801b5fa21692b9fce51b8096694453568cbf8a (diff) | |
download | ydb-40479c2d3d1e9bd3eb213aba537570d28d37d8a2.tar.gz |
Restrict direct usages of google benchmarking library
Forbid PEERDIR-ing Google Benchmark from modules other than G_BENCHMARK.
Diffstat (limited to 'library/cpp/testing/gbenchmark/CMakeLists.linux-x86_64.txt')
-rw-r--r-- | library/cpp/testing/gbenchmark/CMakeLists.linux-x86_64.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/library/cpp/testing/gbenchmark/CMakeLists.linux-x86_64.txt b/library/cpp/testing/gbenchmark/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..f3cdb5fbc1 --- /dev/null +++ b/library/cpp/testing/gbenchmark/CMakeLists.linux-x86_64.txt @@ -0,0 +1,20 @@ + +# 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(cpp-testing-gbenchmark) +target_link_libraries(cpp-testing-gbenchmark PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + restricted-google-benchmark + cpp-testing-hook +) +target_sources(cpp-testing-gbenchmark PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gbenchmark/main.cpp +) |