cmake protobuf_generate_cpp examples

Signatures

protobuf_generate_cpp(
  <sources-variable>
  <headers-variable>
  [DESCRIPTORS <variable>]
  [EXPORT_MACRO <macro>]
  <proto-files>...
)

Examples

ByConity/ByConity contrib/protobuf-cmake/protobuf_generate.cmake :6

protobuf_generate_cpp (<SRCS> <HDRS>
    [DESCRIPTORS <DESC>] [EXPORT_MACRO <MACRO>] [<ARGN>...])

chdb-io/chdb contrib/google-protobuf-cmake/protobuf_generate.cmake :6

protobuf_generate_cpp (<SRCS> <HDRS>
    [DESCRIPTORS <DESC>] [EXPORT_MACRO <MACRO>] [<ARGN>...])

ClickHouse/ClickHouse contrib/google-protobuf-cmake/protobuf_generate.cmake :6

protobuf_generate_cpp (<SRCS> <HDRS>
    [DESCRIPTORS <DESC>] [EXPORT_MACRO <MACRO>] [<ARGN>...])

pingcap/tiflash contrib/protobuf-cmake/protobuf_generate.cmake :6

protobuf_generate_cpp (<SRCS> <HDRS>
    [DESCRIPTORS <DESC>] [EXPORT_MACRO <MACRO>] [<ARGN>...])

machinekit/machinekit-hal support/cmake/tools/FindProtobuf.cmake :97

protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS DESCRIPTORS PROTO_DESCS foo.proto)

chatopera/clause cmake/modules/FindProtobuf.cmake :76

protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS DESCRIPTORS PROTO_DESCS foo.proto)