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

Compile example and tests only if needed #49

Merged
merged 3 commits into from
Feb 2, 2023

Conversation

victor1234
Copy link
Contributor

Currently example and unit tests will be compiled in anyway. It's an extra compilation task and not needed if library is used as a dependency.

Added:

  • cmake option STREAMVBYTE_ENABLE_EXAMPLES=OFF

Changed:

  • Default value of cmake option STREAMVBYTE_ENABLE_TESTS changed to OFF
  • Compile examples and tests only if options are set to ON
  • Move example.c to examples/example.c

@lemire
Copy link
Member

lemire commented Feb 2, 2023

Merging.

@lemire lemire merged commit 723fbdb into fast-pack:master Feb 2, 2023
@victor1234 victor1234 deleted the refactor-examples branch February 3, 2023 12:29
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