Bazel rules to auto generate files at compile time
Auto generated files in a project are pretty common. There are generally 3 scenarios for this in a project that needs auto-generated files:
An external pre-built tool generates files pre-compilation and then the generated files get checked in to the tree The tool is compiled in-tree but is again used to generate files pre-compilation and then check them into tree The tool is built during the main build step and then it also generates the needed files just in time.
[Read More]