We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When adding bgfx to a new cmake project using the following:
option(BGFX_BUILD_TOOLS "" OFF) option(BGFX_BUILD_EXAMPLES "" OFF) option(BGFX_BUILD_TESTS "" OFF) option(BGFX_INSTALL "" OFF) option(BGFX_CUSTOM_TARGETS "" OFF) add_subdirectory("Libraries/bgfx.cmake")
The examples-common project is still added to my solution.
This can be fixed by wrapping add_example( common ... ... ... ) in a if(BGFX_BUILD_EXAMPLES) block in the examples.cmake file.
add_example( common ... ... ... )
if(BGFX_BUILD_EXAMPLES)
examples.cmake
The text was updated successfully, but these errors were encountered:
It's not only examples that link with examples common. Shaderc is in tools as one example.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
When adding bgfx to a new cmake project using the following:
The examples-common project is still added to my solution.
This can be fixed by wrapping
add_example( common ... ... ... )
in aif(BGFX_BUILD_EXAMPLES)
block in theexamples.cmake
file.The text was updated successfully, but these errors were encountered: