Skip to content

Add a cmake switch to disable example binaries.#321

Closed
breakin wants to merge 1 commit intomadler:masterfrom
breakin:feature/cmake-skip-examples
Closed

Add a cmake switch to disable example binaries.#321
breakin wants to merge 1 commit intomadler:masterfrom
breakin:feature/cmake-skip-examples

Conversation

@breakin
Copy link
Copy Markdown

@breakin breakin commented Dec 2, 2017

This feature is convenient when another project uses zlib as a git submodule and just wants to add the zlib library but not the example binaries in cmake.

@breakin
Copy link
Copy Markdown
Author

breakin commented Dec 2, 2017

This seems to be a duplicate of #283. I personally prefer to have it like this as a cmake variable, not being a cached setting. That way a parent project that does add_subdirectory on the zlib-directory can decide if she wants to expose a cached setting or not.

@breakin breakin closed this Dec 2, 2017
@breakin breakin deleted the feature/cmake-skip-examples branch December 2, 2017 22:19
@Neustradamus Neustradamus mentioned this pull request Jan 1, 2025
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.

1 participant