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

Build examples optionally #260

Closed
Flow-It opened this issue Aug 13, 2020 · 2 comments
Closed

Build examples optionally #260

Flow-It opened this issue Aug 13, 2020 · 2 comments

Comments

@Flow-It
Copy link

Flow-It commented Aug 13, 2020

I'm currently working on providing a conan recipe for hyperscan.
In this scenario, where hyperscan is only consumed as a library, the examples are not used at all, and building them would be wasted power. Whwn only building a single version of hyperscan, that might not be noticiable, but when building multiple versions (different combinations of compilers, build flags, etc) the extra costs sum up.
So it would be nice to have a simple BUILD_EXAMPLES cmake option.

@xiangwang1
Copy link
Contributor

Sure, we'll add this option in our next release.

@Nor7th
Copy link

Nor7th commented Mar 9, 2021

Added in v5.4.0

@Nor7th Nor7th closed this as completed Mar 9, 2021
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

No branches or pull requests

3 participants