find_package(Protobuf REQUIRED) add_library(protos) protobuf_generate( LANGUAGE cpp TARGET protos PROTOS human.proto data.proto ) target_link_libraries(protos PUBLIC protobuf::libprotobuf) n.ico'/>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15