I have been reworking my Makefile's to do automatic dependency
generation proper. I realized that with modern gcc & GNU make it gets
pretty simple to do this, but protocol buffers were my one stumbling
point, as they have dependencies that gcc can't extract. It occurred
to me that it ought to be trivial for the protoc compiler to do this
for you, but rather than try to hack that in and get a patch accepted,
I thought I'd just try out writing a plugin. It turned out to be
probably the simplest plugin anyone has ever written for protoc.

The code is up on gist. Take a look if you are interested:
https://gist.github.com/2396439

-- 
Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to