This version improves support for alternative build systems, like
Meson and Bazel. The single-include file now is in its own
subdirectory. Several smaller fixes as well.
+ Meson: fixes, cleanups, and modernizations #1024 & #1025
+ Support building with Bazel #1033
+ Restore non-arch dependent path for the pkgconfig file #1012
+ Add get_subcommand_no_throw #1016
+ Move single file to single-include folder #1030 & #1036
+ Fixed app.set_failure_message(...) -> app.failure_message(...) #1018
+ Add IWYU pragmas #1008
+ Fix internal header include paths #1011
+ Improved clarity in RequiredError #1029
+ Added ability to use lexical_cast overloads constrained with enable_if #1021
+ Bug fixes in latest release related to environmental variable
parsing from option groups and unrecognized fields in a config file #1005
- Packaging:
+ move cli11.pc to _datadir
+ change -devel package to build noarch
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cli11?expand=0&rev=13
- Update to version 2.3.2:
* Bugfix: Consistently use ADL for lexical_cast, making it easier to extend for custom template types #820
* Bugfix: Tweak the parsing of files for flags with disable_flag_override #800]
* Bugfix: Handle out of bounds long long #807
* Bugfix: Spacing of make_description min option output #808
* Bugfix: Print last parsed subcommand's help message #822
* Bugfix: Avoid floating point warning in GCC 12 #803
* Bugfix: Fix a few gcc warnings #813
* Backend: Max CMake tested 3.22 -> 3.24 #823
- Update to version 2.3.1:
* Bugfix: App::get_option_group implementation missing #793
* Bugfix: Fix spacing when setting an empty footer #796
* Bugfix: Address Klocwork static analysis checking issues #785
OBS-URL: https://build.opensuse.org/request/show/1056790
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cli11?expand=0&rev=9
- Disable tests for %{?sle_version} <= 150300 due to possible issues of old
cmake versions
- Although the pre-compiled mode has been introduced upstream, it is still not
able to build shared libs, so CLI11_PRECOMPILED is default to be disabled.
The package is then still header-only, and the build architecture is changed
to noarch.
- Tests are enabled during building.
- Upstream changes: update to version 2.3.0
* Add CLI11_PRECOMPILED as an option. #762
* Bugfix: Include <functional> in FormatterFwd #727
* Bugfix: Add missing Macros.hpp to Error.hpp #755
* Bugfix: Fix subcommand callback trigger #733
* Bugfix: Variable rename to avoid warning #734
* Bugfix: split_program_name single file name error #740
* Bugfix: Better support for min/max overrides on MSVC #741
* Bugfix: Support MSVC 2022 #748
* Bugfix: Support negated flag in config file #775
* Bugfix: Better errors for some confusing config file situations #781
* Backend: Restore coverage testing (lost with Travis CI) #747
OBS-URL: https://build.opensuse.org/request/show/1030892
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cli11?expand=0&rev=7
- Update to version 2.2.0
* Add `MultiOptionPolicy::Sum` and refactor the `add_flag` to fix a bug when using `std::optional<bool>` as type.
* Add support for an empty vector result in TOML and as a default string.
* Add `.validate_optional_arguments()` to support discriminating positional arguments from vector option arguments.
* Add `CLI::FileOnDefaultPath` to check for files on a specified default path.
* Change default value display in help messages from `=XXXX` to `[XXXXX]` to make it clearer.
* Modify the Range Validator to support additional types and clean up the error output.
* Bugfix: The trigger on parse modifier did not work on positional argument.s
* Bugfix: The single header file generation was missing custom namespace generation.
* Bugfix: Clean up File Error handling in the argument processing.
* Bugfix: Fix a stack overflow error if nameless commands had fallthrough.
* Bugfix: A subcommand callback could be executed multiple times if it was a member of an option group.
* Bugfix: Fix an issue with vectors of multi argument types where partial argument sets did not result in an error.
* Bugfix: Fix an issue with type the template matching on C++20 and add some CI builds for C++20.
* Bugfix: Fix typo in C++20 detection on MSVC.
* Bugfix: An issue where the detection of RTTI being disabled on certain MSVC platforms did not disable the use of dynamic cast calls.
* Bugfix: Resolve strict-overflow warning on some GCC compilers.
* Backend: Add additional tests concerning the use of aliases for option groups in config files.
* Build: Add support for testing in meson and cleanup symbolic link generation.
* Build: Support building in WebAssembly.
OBS-URL: https://build.opensuse.org/request/show/969972
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cli11?expand=0&rev=5
- Build doc package
- Include pkgconfig file
- Disable the build of examples
- Change the directory of cmake files to %{_datadir}/cmake
- Use the upstream name for source and building, and keep the
package name lowercase
- Update to version 2.1.2
* Use main for the main branch of the repository
* Bugfix(cmake): Enforce at least C++11 when using CMake target
* Build: Don't run doxygen and CTest includes if a submodule
* Build: Avoid a warning on CMake 3.22
* Build: Support compiling the tests with an external copy of Catch2
OBS-URL: https://build.opensuse.org/request/show/933121
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cli11?expand=0&rev=4