diff options
author | robot-ya-builder <robot-ya-builder@yandex-team.com> | 2022-10-03 13:42:11 +0300 |
---|---|---|
committer | robot-ya-builder <robot-ya-builder@yandex-team.com> | 2022-10-03 13:42:11 +0300 |
commit | 13d4d93b54c59bbaac9b0b8bcac6d97ef591dcc8 (patch) | |
tree | a357e613cd206c48ad1f0d4819621f03235c8d2e /cmake/protobuf.cmake | |
parent | 8802f8ecdbe8bb031f90d7ecc6aeccfd373b1c84 (diff) | |
download | ydb-13d4d93b54c59bbaac9b0b8bcac6d97ef591dcc8.tar.gz |
External build system generator release 11
Update tools: yexport
Diffstat (limited to 'cmake/protobuf.cmake')
-rw-r--r-- | cmake/protobuf.cmake | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cmake/protobuf.cmake b/cmake/protobuf.cmake index f8ebd9434f..95a599ca37 100644 --- a/cmake/protobuf.cmake +++ b/cmake/protobuf.cmake @@ -37,14 +37,18 @@ function(target_proto_messages Tgt Scope) ${OutputDir}/${OutputBase}.pb.cc ${OutputDir}/${OutputBase}.pb.h ${ProtocExtraOuts} - COMMAND protoc + COMMAND ${TOOLS_ROOT}/contrib/tools/protoc/bin/protoc ${COMMON_PROTOC_FLAGS} "-I$<JOIN:$<TARGET_GENEX_EVAL:${Tgt},$<TARGET_PROPERTY:${Tgt},PROTO_ADDINCL>>,;-I>" "$<JOIN:$<TARGET_GENEX_EVAL:${Tgt},$<TARGET_PROPERTY:${Tgt},PROTO_OUTS>>,;>" - --plugin=protoc-gen-cpp_styleguide=${CMAKE_BINARY_DIR}/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide + --plugin=protoc-gen-cpp_styleguide=${TOOLS_ROOT}/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide "$<JOIN:$<TARGET_GENEX_EVAL:${Tgt},$<TARGET_PROPERTY:${Tgt},PROTOC_OPTS>>,;>" ${protoRel} - DEPENDS ${proto} $<TARGET_PROPERTY:${Tgt},PROTOC_DEPS> ${CMAKE_BINARY_DIR}/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide + DEPENDS + ${proto} + $<TARGET_PROPERTY:${Tgt},PROTOC_DEPS> + ${TOOLS_ROOT}/contrib/tools/protoc/bin/protoc + ${TOOLS_ROOT}/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} COMMAND_EXPAND_LISTS ) |