cmake protobuf_generate_cpp examples

Signatures

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

Examples

Kitware/kwiver vital/types/protobuf/CMakeLists.txt :39

PROTOBUF_GENERATE_CPP( cpp_srcs cpp_hdrs EXPORT_MACRO VITAL_TYPES_PROTOBUF_EXPORT ${proto_files} )

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 :96

protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS EXPORT_MACRO DLL_EXPORT foo.proto)

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

protobuf_generate_cpp(PROTO_SRCS PROTO_HDRS EXPORT_MACRO DLL_EXPORT foo.proto)