Skip to content
New issue

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

feat: add options to disable tests/benchmarks #8245

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aminya
Copy link

@aminya aminya commented Nov 1, 2024

When building Filament from the source for production from a package manager like vcpkg, these options allow turning off the tests and benchmarks that are not needed for using the library. This significantly reduces compilation time.

Note that I didn't indent the ifs for a smaller diff to make it easier to review, but I can do that if needed.

This is cherry-picked from my PR for allowing filament to be built via vcpkg:
microsoft/vcpkg#41916

@pixelflinger
Copy link
Collaborator

what is the reason for this PR?

@aminya
Copy link
Author

aminya commented Nov 1, 2024

When building Filament from the source for production from a package manager like vcpkg, these options allow turning off the tests and benchmarks that are not needed for using the library. This significantly reduces compilation time. @pixelflinger

@aminya
Copy link
Author

aminya commented Nov 10, 2024

Note that I didn't indent the ifs for a smaller diff to make it easier to review, but I can do that if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants