Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium

New issue 686 by richardg...@gmail.com: Protoc does not provide a dependency manifest output file for build tools like make
https://code.google.com/p/protobuf/issues/detail?id=686

Protobuf files can have import statements and include directories, so the full dependency tree is not known by the build system before executing protoc. This makes it hard for the build system to know when to schedule any given protoc command. Make & other build systems can use a dependency file to trigger a rebuild when a dependency changes. GCC and other compilers expose this with the -MF flag, which outputs a file in the format

output_filename: input_file \
 input_file2 \
 input_file3
...

Protobuf knows the transitive set of input files, but doesn't expose this information in this format.

Patch to follow.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to