Releases: Taywee/args
Releases · Taywee/args
Install args.pc only on a main project build
Bump minimum CMake version to 3.10
CMake 4.0 errors on a minimum version below 3.5. Below 3.10 is deprecated.
Fix tests
Fix program line options placement
If there are optional flags, an {OPTIONS} message will be printed in the program line. This release fixes the options placement to precede positional parameters.
Fix pkgconfig installation placement
A movement in CMakeLists.txt broke where the args pkgconfig file was placed ( #110 ). This release fixes that regression.
Fix CMake version
CMake's find_package now sets args_VERSION and other similar variables appropriately.
-- args_FOUND=1
-- args_VERSION=6.4.3
-- args_VERSION_COUNT=3
-- args_VERSION_MAJOR=6
-- args_VERSION_MINOR=4
-- args_VERSION_PATCH=3
-- args_VERSION_TWEAK=0
Add operator* and operator-> to most types
args::get is still available and works. These interfaces are given for better uniformity with std::optional and to help reduce verbosity.
6.2.7
Correct default behavior for list arguments
Some relevant test cases were also added.