diff options
author | AlexSm <alex@ydb.tech> | 2023-12-22 17:10:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-22 17:10:22 +0100 |
commit | 148f920350c60c0ca2d89b637a5aea9093eee450 (patch) | |
tree | 6314b1433dac833398c333731e83f0ad77e81a0b /build/conf/proto.conf | |
parent | 7116d46ae7c0259b5f9d489de263f8701e432b1c (diff) | |
download | ydb-148f920350c60c0ca2d89b637a5aea9093eee450.tar.gz |
Library import 2 (#639)
Diffstat (limited to 'build/conf/proto.conf')
-rw-r--r-- | build/conf/proto.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build/conf/proto.conf b/build/conf/proto.conf index d1863c8f71..ef6cf8ee15 100644 --- a/build/conf/proto.conf +++ b/build/conf/proto.conf @@ -30,6 +30,7 @@ CPP_PROTO_OUTS= CPP_PROTO_OUTS_SEM= CPP_PROTO_SUFFIXES=.pb.h .pb.cc CPP_PROTO_PLUGINS= +CPP_PROTO_NO_DBGINFO=no # tag:proto tag:cpp-specific CPP_EV_OPTS=--plugin=protoc-gen-event2cpp=${tool:"tools/event2cpp"} --event2cpp_out=$ARCADIA_BUILD_ROOT -I=$ARCADIA_ROOT/library/cpp/eventlog @@ -50,6 +51,14 @@ JAVA_PROTO_ARGS= # tag:proto tag:python-specific OPTIMIZE_PY_PROTOS_FLAG=no +# tag:proto +### @usage: CPP_PROTOLIBS_DEBUG_INFO() +### +### Eqvivalent to NO_DEBUG_INFO() macro if the flag CPP_PROTO_NO_DBGINFO=yes +macro CPP_PROTOLIBS_DEBUG_INFO() { + SET(NO_DEBUGINFO $CPP_PROTO_NO_DBGINFO) +} + # tag:internal ### @usage: _ORDER_ADDINCL([BUILD ...] [SOURCE ...] Args...) # internal ### @@ -638,6 +647,7 @@ multimodule PROTO_LIBRARY { ENABLE(CPP_PROTO) ENABLE(GEN_PROTO) NO_CLANG_TIDY() + CPP_PROTOLIBS_DEBUG_INFO() SET(PEERDIR_TAGS CPP_PROTO) when ($BUILD_PROTO_AS_EVLOG == "yes" && $USE_VANILLA_PROTOC == "yes") { |