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

cmake: add BUILD_EXAMPLES option to build examples #13491

Closed
wants to merge 6 commits into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Apr 27, 2024

You can enable it with -DBUILD_EXAMPLES=ON.

To match autotools' make examples feature.
Windows (static) builds not tested.

Also enable examples in a pair of CI jobs.

Apply related updates to the macOS CI workflow:

  • drop unused CXX envs.
  • drop no longer needed -Wno-error=undef -Wno-error=conversion flags.
  • pass -Wno-deprecated-declarations to GCC too (for BUILD_EXAMPLES).
  • document why -Wno-deprecated-declarations is necessary.

Closes #13491

You can enable it with `-DBUILD_EXAMPLES=ON`.

To match autotools' `make examples` feature.

Closes #xxxxx
@github-actions github-actions bot added the CI Continuous Integration label Apr 27, 2024
@vszakats vszakats changed the title cmake: add ability to build examples cmake: add BUILD_EXAMPLES option to build examples Apr 28, 2024
@vszakats vszakats closed this in dfdd978 Apr 28, 2024
@vszakats vszakats deleted the cmake-examples branch April 28, 2024 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration cmake documentation
Development

Successfully merging this pull request may close these issues.

None yet

1 participant