objectbox-c icon indicating copy to clipboard operation
objectbox-c copied to clipboard

feat(build): add cache var to disable examples

Open gf3 opened this issue 2 years ago • 0 comments

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

gf3 avatar Nov 28 '23 03:11 gf3