aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-25 15:23:32 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-25 15:23:32 +0300
commit33669c796a33523ead0983331e85d192bb460bfb (patch)
treed0e30755698923df0a7b8a9b99e501ac057214ce /library
parentfbc1b1eba4b5a74996651d255f4f286d0ed7c208 (diff)
downloadydb-33669c796a33523ead0983331e85d192bb460bfb.tar.gz
intermediate changes
ref:84de00009e51ecf595c13dfc2c9846069069605d
Diffstat (limited to 'library')
-rw-r--r--library/cpp/actors/protos/CMakeLists.txt13
-rw-r--r--library/cpp/histogram/adaptive/protos/CMakeLists.txt13
-rw-r--r--library/cpp/lwtrace/protos/CMakeLists.txt13
-rw-r--r--library/cpp/messagebus/monitoring/CMakeLists.txt13
-rw-r--r--library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt13
-rw-r--r--library/cpp/protobuf/util/proto/CMakeLists.txt13
-rw-r--r--library/cpp/retry/protos/CMakeLists.txt13
7 files changed, 91 insertions, 0 deletions
diff --git a/library/cpp/actors/protos/CMakeLists.txt b/library/cpp/actors/protos/CMakeLists.txt
index 456b1a40e3..3f421a344b 100644
--- a/library/cpp/actors/protos/CMakeLists.txt
+++ b/library/cpp/actors/protos/CMakeLists.txt
@@ -25,3 +25,16 @@ target_sources(cpp-actors-protos PRIVATE
${CMAKE_BINARY_DIR}/library/cpp/actors/protos/services_common.pb.cc
${CMAKE_BINARY_DIR}/library/cpp/actors/protos/unittests.pb.cc
)
+target_proto_addincls(cpp-actors-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-actors-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/histogram/adaptive/protos/CMakeLists.txt b/library/cpp/histogram/adaptive/protos/CMakeLists.txt
index 1f3b57f44e..444c6c85dc 100644
--- a/library/cpp/histogram/adaptive/protos/CMakeLists.txt
+++ b/library/cpp/histogram/adaptive/protos/CMakeLists.txt
@@ -19,3 +19,16 @@ target_proto_messages(histogram-adaptive-protos PRIVATE
target_sources(histogram-adaptive-protos PRIVATE
${CMAKE_BINARY_DIR}/library/cpp/histogram/adaptive/protos/histo.pb.cc
)
+target_proto_addincls(histogram-adaptive-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(histogram-adaptive-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/lwtrace/protos/CMakeLists.txt b/library/cpp/lwtrace/protos/CMakeLists.txt
index 177651b47b..b08053444f 100644
--- a/library/cpp/lwtrace/protos/CMakeLists.txt
+++ b/library/cpp/lwtrace/protos/CMakeLists.txt
@@ -19,3 +19,16 @@ target_proto_messages(cpp-lwtrace-protos PRIVATE
target_sources(cpp-lwtrace-protos PRIVATE
${CMAKE_BINARY_DIR}/library/cpp/lwtrace/protos/lwtrace.pb.cc
)
+target_proto_addincls(cpp-lwtrace-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-lwtrace-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/messagebus/monitoring/CMakeLists.txt b/library/cpp/messagebus/monitoring/CMakeLists.txt
index 931249f18f..f389218166 100644
--- a/library/cpp/messagebus/monitoring/CMakeLists.txt
+++ b/library/cpp/messagebus/monitoring/CMakeLists.txt
@@ -20,3 +20,16 @@ target_proto_messages(cpp-messagebus-monitoring PRIVATE
target_sources(cpp-messagebus-monitoring PRIVATE
${CMAKE_BINARY_DIR}/library/cpp/messagebus/monitoring/mon_proto.pb.cc
)
+target_proto_addincls(cpp-messagebus-monitoring
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-messagebus-monitoring
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt
index 29c2893565..7a0c8e732a 100644
--- a/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt
+++ b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt
@@ -19,3 +19,16 @@ target_proto_messages(encode-legacy_protobuf-protos PRIVATE
target_sources(encode-legacy_protobuf-protos PRIVATE
${CMAKE_BINARY_DIR}/library/cpp/monlib/encode/legacy_protobuf/protos/metric_meta.pb.cc
)
+target_proto_addincls(encode-legacy_protobuf-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(encode-legacy_protobuf-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/protobuf/util/proto/CMakeLists.txt b/library/cpp/protobuf/util/proto/CMakeLists.txt
index cc257aeeb7..6b2ad285a6 100644
--- a/library/cpp/protobuf/util/proto/CMakeLists.txt
+++ b/library/cpp/protobuf/util/proto/CMakeLists.txt
@@ -19,3 +19,16 @@ target_proto_messages(protobuf-util-proto PRIVATE
target_sources(protobuf-util-proto PRIVATE
${CMAKE_BINARY_DIR}/library/cpp/protobuf/util/proto/merge.pb.cc
)
+target_proto_addincls(protobuf-util-proto
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(protobuf-util-proto
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/retry/protos/CMakeLists.txt b/library/cpp/retry/protos/CMakeLists.txt
index d9c38efdd3..9cd13c271c 100644
--- a/library/cpp/retry/protos/CMakeLists.txt
+++ b/library/cpp/retry/protos/CMakeLists.txt
@@ -19,3 +19,16 @@ target_proto_messages(cpp-retry-protos PRIVATE
target_sources(cpp-retry-protos PRIVATE
${CMAKE_BINARY_DIR}/library/cpp/retry/protos/retry_options.pb.cc
)
+target_proto_addincls(cpp-retry-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-retry-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)