tukaani-project / xz

XZ Utils
https://tukaani.org/xz/
Other
532 stars 95 forks source link

CMake: Allow configuring features as cache variables #41

Closed JiaT75 closed 1 year ago

JiaT75 commented 1 year ago

This allows users to change the features they build either in CMakeCache.txt or by using a CMake GUI.

Pull request checklist

Please check if your PR fulfills the following requirements:

Pull request type

Please check the type of change your PR introduces: - [ ] Bugfix - [ ] Feature - [ ] Code style update (formatting, renaming, typo fix) - [ ] Refactoring (no functional changes, no api changes) - [X] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the current behavior?

CMake build cannot have the features changes like check types, match finders, encoders, and decoders.

What is the new behavior?

Does this introduce a breaking change?

Other information

This will allow CI tests to test the different configurations, similar to the Autotools runners.