aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/histogram
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
commitb4cb34dfb2619f594d82e512fd9ff7fc97400133 (patch)
tree6a64ab25a145265287789bceed3f59e953561206 /library/cpp/histogram
parent5e837a820d5be0671fa4096a1cc1e378453e5132 (diff)
downloadydb-b4cb34dfb2619f594d82e512fd9ff7fc97400133.tar.gz
intermediate changes
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
Diffstat (limited to 'library/cpp/histogram')
-rw-r--r--library/cpp/histogram/adaptive/CMakeLists.txt13
-rw-r--r--library/cpp/histogram/adaptive/protos/CMakeLists.txt13
-rw-r--r--library/cpp/histogram/hdr/CMakeLists.txt10
3 files changed, 36 insertions, 0 deletions
diff --git a/library/cpp/histogram/adaptive/CMakeLists.txt b/library/cpp/histogram/adaptive/CMakeLists.txt
new file mode 100644
index 0000000000..9bfe6245a4
--- /dev/null
+++ b/library/cpp/histogram/adaptive/CMakeLists.txt
@@ -0,0 +1,13 @@
+add_library(cpp-histogram-adaptive)
+target_link_libraries(cpp-histogram-adaptive PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ histogram-adaptive-protos
+)
+target_sources(cpp-histogram-adaptive PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/common.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/adaptive_histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/block_histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/fixed_bin_histogram.cpp
+)
diff --git a/library/cpp/histogram/adaptive/protos/CMakeLists.txt b/library/cpp/histogram/adaptive/protos/CMakeLists.txt
new file mode 100644
index 0000000000..272f39ddce
--- /dev/null
+++ b/library/cpp/histogram/adaptive/protos/CMakeLists.txt
@@ -0,0 +1,13 @@
+add_library(histogram-adaptive-protos)
+target_link_libraries(histogram-adaptive-protos PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(histogram-adaptive-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/protos/histo.proto
+)
+target_proto_plugin(histogram-adaptive-protos
+ cpp_styleguide
+ cpp_styleguide
+)
diff --git a/library/cpp/histogram/hdr/CMakeLists.txt b/library/cpp/histogram/hdr/CMakeLists.txt
new file mode 100644
index 0000000000..6a7edce36c
--- /dev/null
+++ b/library/cpp/histogram/hdr/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_library(cpp-histogram-hdr)
+target_link_libraries(cpp-histogram-hdr PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-hdr_histogram
+)
+target_sources(cpp-histogram-hdr PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/hdr/histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/hdr/histogram_iter.cpp
+)