Added INCLUDE_PREFIX option for flatbuffers_generate_headers (#5866)
authorAlex Ames <amablue@google.com>
Thu, 23 Apr 2020 17:09:19 +0000 (10:09 -0700)
committerGitHub <noreply@github.com>
Thu, 23 Apr 2020 17:09:19 +0000 (10:09 -0700)
commit99aa1ef21dd9dc3f9d4fb0eb82f4b59d0bb5e4c5
treed2ce6780cc5a91c40a232dc4105c7edfe19bb7f1
parent40ba170c94c02493872471fc23b07399c1741aa5
Added INCLUDE_PREFIX option for flatbuffers_generate_headers (#5866)

This option was in an earlier revision of flatbuffers_generate_headers
but was lost while refactoring by mistake. We have it as a function
argument rather than one of the optional flags so that we can use it to
inform the rule where to place the generated headers, so that the file
location matches the prefix that will be added to the filenames in the
generated files.

Also fixed some of the documentation in the file.
CMake/BuildFlatBuffers.cmake