[CMake] Generate protobuf headers as part of build
Summary:
Generate the protobuf C++ files and also produce phabricator
compatible headers as well.
Test Plan:
nix develop cd native/cpp/CommonCpp/grpc/ rm -rf build mkdir build cd build cmake .. make -j # do initial build # somehow modify the files touch ../protos/blob.proto make -j # assert that only blob is being rebuilt # assert that no files have changed git status # assert that build is idempotent make -j
Reviewers: atul, max, karol
Reviewed By: atul, max
Subscribers: ashoat, tomek, adrian, abosh
Differential Revision: https://phab.comm.dev/D4774