-
Notifications
You must be signed in to change notification settings - Fork 35
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 ObjectBox without examples #33
Comments
Isn't this exactly what https://cpp.objectbox.io/installation describes? Let us know if we can improve the docs... |
I apologize for the late response. I had a tight schedule and I just got a chance to check the thread. Following the instructions, CMake will fetch the objectbox-c repository from GitHub. This includes the example programs, which I don't want to run. To avoid this, I need to manually remove or comment out the example directory in the CMakeLists.txt file. |
opened PR #37 to address this issue, as it was preventing compilation in a project for me |
I'm looking to compile ObjectBox without including the examples and test apps. Essentially, I want to keep only the ObjectBox library in my environment.
It would be great if you could consider adding an option to remove examples when using the FetchContent_MakeAvailable command.
This way, users would have the flexibility to exclude example programs from the build process, reducing unnecessary build time and keeping the project clean and concise
The text was updated successfully, but these errors were encountered: