* Added a new option to allow "example-common" project to not be included in build.
* Set BGFX_BUILD_EXAMPLE_COMMON as a dependent option, it will be set ON if either tools or examples are included in the build, OFF otherwise.
* cmake format
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
---------
Co-authored-by: Sandy <bwrsandman@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
The custom command didn't recognize bgfx::shaderc and the generator expression seems bettter. I also added an include option since it might be important to be able to define those.
Added changes to each of the cmake files to make sure bgfx:: is defined
Also add an output variable name parameter.
Co-Authored-By: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>