mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +00:00
flatc -M emits dependency rules containing filenames as-is. Characters that are special to make ($ # : space \) are not escaped, so a schema whose include path contains any of them produces a depfile that make or Ninja mis-parses. GCC and Clang escape these in -M/-MD output, and glslang does the same via writeEscapedDepString. Add EscapeMakeDep and apply it to every active GenerateMakeRule site, and emit the rule as a single line instead of word-wrapping (wrapping splits escaped filenames on their spaces). |
||
|---|---|---|
| .. | ||
| codegen | ||
| flatbuffers | ||