mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
The .pb.cc and .pb.h are generated by 'protoc' tool and got copied here from https://github.com/TimSC/mbtiles-cpp
Update pbf files
To update the protobuf files, get vector_tile.proto from https://github.com/mapbox/vector-tile-spec, remove the line "option optimize_for = LITE_RUNTIME;", then
mkdir vector_tile21
protoc vector_tile.proto --cpp_out vector_tile21
protobuf lite is avoided because it doesn't contain SerializeToOstream functionality.