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(build): add cache var to disable examples #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gf3
Copy link

@gf3 gf3 commented Nov 28, 2023

Add OBX_DISABLE_EXAMPLES with a default value of OFF to control including the examples directory in the default build.

Example

You can disable including/building the examples by setting the cache variable OBX_DISABLE_EXAMPLES to ON:

-DOBX_DISABLE_EXAMPLES=ON

E.g. in KDevelop project CMake configuration:

KDevelop project CMake settings

Closes #33

Add `OBX_DISABLE_EXAMPLES` with a default value of `OFF` to control including the examples directory in the default build.
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.

compile ObjectBox without examples
1 participant