C++ command line option parser
This project builds and defines the build2 package for cxxopts
, a lightweight C++ command line option parser.
The packaging code is licensed under the MIT License, the upstream artifacts are licensed under the terms and conditions of cxxopts.
Usage
Make sure to add the stable section of the cppget.org repository to your project's repositories.manifest
to be able to fetch this package.
:
role: prerequisite
location: https://pkg.cppget.org/1/stable
# trust: ...
If this is not an option then, instead, add this Git repository itself as a prerequisite.
:
role: prerequisite
location: https://github.com/build2-packaging/cxxopts.git
Add the respective dependency in your project's manifest
file to make the package available for import.
depends: libcxxopts ^ 3.2.0
Import the library in your buildfile
by using the following line.
import cxxopts = libcxxopts%lib{cxxopts}
Configuration
Unicode Support
config [bool] config.libcxxopts.use_unicode ?= false
Unicode functionality in cxxopts is based on the ICU library.
It will be added as interface dependency to the header-only library if this config variable is set to true
.
Issues
- The upstream code uses older versions of Catch2 and provides its source code in-place. We don't depend on the Catch2 package as this older version is not available on
cppget.org
.
Contributing
Thanks in advance for your help and contribution to keep this package up-to-date.
For now, please, file an issue on GitHub for everything that is not described below.
Recommend Updating Version
Please, file an issue on GitHub with the new recommended version.
Update Version by Pull Request
- Fork the repository on GitHub and clone it to your local machine.
- Run
git submodule init
and git submodule update
to get the current upstream directory.
- Inside the
upstream
directory, checkout the new library version X.Y.Z
by calling git checkout vX.Y.Z
that you want to be packaged.
- If needed, change source files,
buildfiles
, and symbolic links accordingly to create a working build2 package. Make sure not to directly depend on the upstream directory inside the build system but use symbolic links instead.
- Update library version in
manifest
file if it has changed or add package update by using +n
for the n
-th update.
- Make an appropriate commit message by using imperative mood and a capital letter at the start and push the new commit to the
master
branch.
- Run
bdep ci
and test for errors.
- If everything works fine, make a pull request on GitHub and write down the
bdep ci
link to your CI tests.
- After a successful pull request, we will run the appropriate commands to publish a new package version.
Update Version Directly if You Have Permissions
- Inside the
upstream
directory, checkout the new library version X.Y.Z
by calling git checkout vX.Y.Z
that you want to be packaged.
- If needed, change source files,
buildfiles
, and symbolic links accordingly to create a working build2 package. Make sure not to directly depend on the upstream directory inside the build system but use symbolic links instead.
- Update library version in
manifest
file if it has changed or add package update by using +n
for the n
-th update.
- Make an appropriate commit message by using imperative mood and a capital letter at the start and push the new commit to the
master
branch.
- Run
bdep ci
and test for errors and warnings.
- When successful, run
bdep release --tag --push
to push new tag version to repository.
- Run
bdep publish
to publish the package to cppget.org.
Depends (1)
|
libicuuc ? ($config.libcxxopts.use_unicode) |
Builds
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_fedora_38-gcc_13-bindist |
pkg config |
unicode |
timestamp |
2024-05-12 11:26:16 UTC (01 15:39:14 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-clang_15.0-static_O3 |
pkg config |
unicode |
timestamp |
2024-05-12 04:52:18 UTC (01 22:13:13 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-clang_15.0-O3 |
pkg config |
unicode |
timestamp |
2024-05-12 04:51:03 UTC (01 22:14:28 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-clang_15.0 |
pkg config |
unicode |
timestamp |
2024-05-12 04:48:29 UTC (01 22:17:01 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-clang_15.0-static_O3 |
pkg config |
default |
timestamp |
2024-05-12 04:43:03 UTC (01 22:22:27 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-clang_15.0-O3 |
pkg config |
default |
timestamp |
2024-05-12 04:41:10 UTC (01 22:24:20 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-clang_15.0 |
pkg config |
default |
timestamp |
2024-05-12 04:38:22 UTC (01 22:27:08 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-clang_14.0-static_O3 |
pkg config |
unicode |
timestamp |
2024-05-12 03:39:17 UTC (01 23:26:13 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-clang_14.0-O3 |
pkg config |
unicode |
timestamp |
2024-05-12 03:37:57 UTC (01 23:27:33 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-clang_14.0 |
pkg config |
unicode |
timestamp |
2024-05-12 03:37:18 UTC (01 23:28:12 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-clang_14.0-static_O3 |
pkg config |
default |
timestamp |
2024-05-12 03:36:00 UTC (01 23:29:30 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-clang_14.0-O3 |
pkg config |
default |
timestamp |
2024-05-12 03:35:24 UTC (01 23:30:07 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-clang_14.0 |
pkg config |
default |
timestamp |
2024-05-12 03:34:05 UTC (01 23:31:25 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_16_libc++-static_O3 |
pkg config |
unicode |
timestamp |
2024-05-11 15:30:43 UTC (02 11:34:48 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_16_libc++-O3 |
pkg config |
unicode |
timestamp |
2024-05-11 15:30:08 UTC (02 11:35:22 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_16_libc++ |
pkg config |
unicode |
timestamp |
2024-05-11 15:28:53 UTC (02 11:36:37 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_16-static_O3 |
pkg config |
unicode |
timestamp |
2024-05-11 15:28:14 UTC (02 11:37:16 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_16-O3 |
pkg config |
unicode |
timestamp |
2024-05-11 15:27:55 UTC (02 11:37:35 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_16_libc++-static_O3 |
pkg config |
default |
timestamp |
2024-05-11 15:27:36 UTC (02 11:37:55 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_16 |
pkg config |
unicode |
timestamp |
2024-05-11 15:27:22 UTC (02 11:38:08 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_16_libc++-O3 |
pkg config |
default |
timestamp |
2024-05-11 15:26:58 UTC (02 11:38:33 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_16-static_O3 |
pkg config |
default |
timestamp |
2024-05-11 15:26:49 UTC (02 11:38:42 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_16-O3 |
pkg config |
default |
timestamp |
2024-05-11 15:26:19 UTC (02 11:39:12 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_16_libc++ |
pkg config |
default |
timestamp |
2024-05-11 15:26:16 UTC (02 11:39:15 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_16 |
pkg config |
default |
timestamp |
2024-05-11 15:25:41 UTC (02 11:39:50 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-gcc_13_homebrew-static_O3 |
pkg config |
unicode |
timestamp |
2024-05-11 13:50:54 UTC (02 13:14:37 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-gcc_13_homebrew-O3 |
pkg config |
unicode |
timestamp |
2024-05-11 13:50:15 UTC (02 13:15:16 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-gcc_13_homebrew |
pkg config |
unicode |
timestamp |
2024-05-11 13:49:37 UTC (02 13:15:54 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-gcc_13_homebrew-static_O3 |
pkg config |
default |
timestamp |
2024-05-11 13:48:59 UTC (02 13:16:31 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-gcc_13_homebrew-O3 |
pkg config |
default |
timestamp |
2024-05-11 13:48:20 UTC (02 13:17:11 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-gcc_13_homebrew |
pkg config |
default |
timestamp |
2024-05-11 13:47:42 UTC (02 13:17:49 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_16.0_libc++-O3 |
pkg config |
unicode |
timestamp |
2024-05-11 13:11:51 UTC (02 13:53:39 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_16.0-O3 |
pkg config |
unicode |
timestamp |
2024-05-11 13:11:00 UTC (02 13:54:31 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_16.0_libc++-static_O3 |
pkg config |
unicode |
timestamp |
2024-05-11 13:10:50 UTC (02 13:54:41 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_16.0_libc++ |
pkg config |
unicode |
timestamp |
2024-05-11 13:10:36 UTC (02 13:54:54 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_16.0 |
pkg config |
unicode |
timestamp |
2024-05-11 13:10:15 UTC (02 13:55:15 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_16.0-static_O3 |
pkg config |
unicode |
timestamp |
2024-05-11 13:10:07 UTC (02 13:55:23 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_16.0-static_O3 |
pkg config |
default |
timestamp |
2024-05-11 13:09:57 UTC (02 13:55:33 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_16.0_libc++-static_O3 |
pkg config |
default |
timestamp |
2024-05-11 13:09:42 UTC (02 13:55:49 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_16.0_libc++-O3 |
pkg config |
default |
timestamp |
2024-05-11 13:09:37 UTC (02 13:55:53 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_16.0-O3 |
pkg config |
default |
timestamp |
2024-05-11 13:09:33 UTC (02 13:55:58 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_16.0_libc++ |
pkg config |
default |
timestamp |
2024-05-11 13:09:19 UTC (02 13:56:11 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_16.0 |
pkg config |
default |
timestamp |
2024-05-11 13:09:14 UTC (02 13:56:16 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_fedora_38-gcc_13-bindist |
pkg config |
default |
timestamp |
2024-05-11 12:57:36 UTC (02 14:07:55 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_fedora_37-gcc_12.2-bindist |
pkg config |
unicode |
timestamp |
2024-05-11 12:29:26 UTC (02 14:36:04 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_fedora_37-gcc_12.2-bindist |
pkg config |
default |
timestamp |
2024-05-11 12:28:54 UTC (02 14:36:37 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-w64-mingw32 |
tgt config |
windows_10-gcc_12.2_mingw_w64-static_O2 |
pkg config |
unicode |
timestamp |
2024-05-11 12:20:11 UTC (02 14:45:19 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-w64-mingw32 |
tgt config |
windows_10-gcc_12.2_mingw_w64-O2 |
pkg config |
unicode |
timestamp |
2024-05-11 12:19:51 UTC (02 14:45:39 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-freebsd13.2 |
tgt config |
freebsd_13-clang_14.0-O3 |
pkg config |
unicode |
timestamp |
2024-05-11 12:19:29 UTC (02 14:46:02 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-w64-mingw32 |
tgt config |
windows_10-gcc_12.2_mingw_w64 |
pkg config |
unicode |
timestamp |
2024-05-11 12:19:26 UTC (02 14:46:05 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_12-bindist |
pkg config |
unicode |
timestamp |
2024-05-11 12:19:15 UTC (02 14:46:16 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_13.1-O3 |
pkg config |
unicode |
timestamp |
2024-05-11 12:18:59 UTC (02 14:46:32 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_13.1-static_O3 |
pkg config |
unicode |
timestamp |
2024-05-11 12:18:40 UTC (02 14:46:51 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_12-bindist |
pkg config |
default |
timestamp |
2024-05-11 12:18:31 UTC (02 14:47:00 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-freebsd13.2 |
tgt config |
freebsd_13-clang_14.0-static_O3 |
pkg config |
unicode |
timestamp |
2024-05-11 12:18:19 UTC (02 14:47:12 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-w64-mingw32 |
tgt config |
windows_10-gcc_12.2_mingw_w64-static_O2 |
pkg config |
default |
timestamp |
2024-05-11 12:18:01 UTC (02 14:47:29 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_13.1-ndebug_O3 |
pkg config |
unicode |
timestamp |
2024-05-11 12:17:57 UTC (02 14:47:33 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-freebsd13.2 |
tgt config |
freebsd_13-clang_14.0 |
pkg config |
unicode |
timestamp |
2024-05-11 12:17:43 UTC (02 14:47:48 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_13.1 |
pkg config |
unicode |
timestamp |
2024-05-11 12:17:34 UTC (02 14:47:57 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-w64-mingw32 |
tgt config |
windows_10-gcc_12.2_mingw_w64 |
pkg config |
default |
timestamp |
2024-05-11 12:16:50 UTC (02 14:48:41 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_15.0_libc++ |
pkg config |
unicode |
timestamp |
2024-05-11 12:16:33 UTC (02 14:48:57 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_13.1-O3 |
pkg config |
default |
timestamp |
2024-05-11 12:16:33 UTC (02 14:48:57 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_13.1-static_O3 |
pkg config |
default |
timestamp |
2024-05-11 12:16:32 UTC (02 14:48:58 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_15.0 |
pkg config |
unicode |
timestamp |
2024-05-11 12:16:19 UTC (02 14:49:11 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-freebsd13.2 |
tgt config |
freebsd_13-clang_14.0-O3 |
pkg config |
default |
timestamp |
2024-05-11 12:16:08 UTC (02 14:49:22 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-w64-mingw32 |
tgt config |
windows_10-gcc_12.2_mingw_w64-O2 |
pkg config |
default |
timestamp |
2024-05-11 12:16:07 UTC (02 14:49:23 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_13.1-ndebug_O3 |
pkg config |
default |
timestamp |
2024-05-11 12:16:07 UTC (02 14:49:23 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-freebsd13.2 |
tgt config |
freebsd_13-clang_14.0-static_O3 |
pkg config |
default |
timestamp |
2024-05-11 12:16:07 UTC (02 14:49:24 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-freebsd12.4 |
tgt config |
freebsd_12-clang_13.0 |
pkg config |
unicode |
timestamp |
2024-05-11 12:15:50 UTC (02 14:49:40 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_13.1 |
pkg config |
default |
timestamp |
2024-05-11 12:15:49 UTC (02 14:49:41 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-freebsd13.2 |
tgt config |
freebsd_13-clang_14.0 |
pkg config |
default |
timestamp |
2024-05-11 12:15:32 UTC (02 14:49:59 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_11-gcc_12.1 |
pkg config |
unicode |
timestamp |
2024-05-11 12:15:13 UTC (02 14:50:17 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_15.0_libc++ |
pkg config |
default |
timestamp |
2024-05-11 12:14:54 UTC (02 14:50:36 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-freebsd12.4 |
tgt config |
freebsd_12-clang_13.0 |
pkg config |
default |
timestamp |
2024-05-11 12:14:50 UTC (02 14:50:41 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_15.0 |
pkg config |
default |
timestamp |
2024-05-11 12:14:40 UTC (02 14:50:51 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_11-gcc_12.1 |
pkg config |
default |
timestamp |
2024-05-11 12:14:38 UTC (02 14:50:53 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_13-static_O3 |
pkg config |
unicode |
timestamp |
2024-05-11 11:46:45 UTC (02 15:18:45 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_13-ndebug_O3 |
pkg config |
unicode |
timestamp |
2024-05-11 11:45:54 UTC (02 15:19:36 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_13-O3 |
pkg config |
unicode |
timestamp |
2024-05-11 11:45:22 UTC (02 15:20:09 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_13 |
pkg config |
unicode |
timestamp |
2024-05-11 11:45:10 UTC (02 15:20:20 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_13-static_O3 |
pkg config |
default |
timestamp |
2024-05-11 11:44:38 UTC (02 15:20:53 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_13-ndebug_O3 |
pkg config |
default |
timestamp |
2024-05-11 11:44:19 UTC (02 15:21:12 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_13-O3 |
pkg config |
default |
timestamp |
2024-05-11 11:44:08 UTC (02 15:21:23 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_13 |
pkg config |
default |
timestamp |
2024-05-11 11:43:22 UTC (02 15:22:08 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_15_libc++ |
pkg config |
unicode |
timestamp |
2024-05-11 11:14:49 UTC (02 15:50:41 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_15 |
pkg config |
unicode |
timestamp |
2024-05-11 11:14:22 UTC (02 15:51:09 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_11-gcc_12 |
pkg config |
unicode |
timestamp |
2024-05-11 11:13:46 UTC (02 15:51:44 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_16.0_llvm_msvc_17.6 |
pkg config |
unicode |
timestamp |
2024-05-11 11:13:42 UTC (02 15:51:49 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_16.0_llvm_msvc_17.6-O2 |
pkg config |
unicode |
timestamp |
2024-05-11 11:13:25 UTC (02 15:52:05 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_15_libc++ |
pkg config |
default |
timestamp |
2024-05-11 11:13:13 UTC (02 15:52:17 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_15 |
pkg config |
default |
timestamp |
2024-05-11 11:13:11 UTC (02 15:52:20 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_16.0_llvm_msvc_17.6-static_O2 |
pkg config |
unicode |
timestamp |
2024-05-11 11:13:03 UTC (02 15:52:28 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.16.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_11-gcc_12 |
pkg config |
default |
timestamp |
2024-05-11 11:12:09 UTC (02 15:53:22 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_16.0_llvm_msvc_17.6-O2 |
pkg config |
default |
timestamp |
2024-05-11 11:12:09 UTC (02 15:53:22 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_16.0_llvm_msvc_17.6-static_O2 |
pkg config |
default |
timestamp |
2024-05-11 11:11:43 UTC (02 15:53:47 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_16.0_llvm_msvc_17.6 |
pkg config |
default |
timestamp |
2024-05-11 11:11:15 UTC (02 15:54:15 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.6-O2 |
pkg config |
unicode |
timestamp |
2024-05-11 10:59:50 UTC (02 16:05:41 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.6-static_O2 |
pkg config |
unicode |
timestamp |
2024-05-11 10:59:48 UTC (02 16:05:42 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.6 |
pkg config |
unicode |
timestamp |
2024-05-11 10:59:10 UTC (02 16:06:20 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.6-static_O2 |
pkg config |
default |
timestamp |
2024-05-11 10:59:05 UTC (02 16:06:25 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.6-O2 |
pkg config |
default |
timestamp |
2024-05-11 10:58:22 UTC (02 16:07:09 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_15.0_msvc_msvc_17.6 |
pkg config |
unicode |
timestamp |
2024-05-11 10:58:05 UTC (02 16:07:26 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.6 |
pkg config |
default |
timestamp |
2024-05-11 10:57:59 UTC (02 16:07:32 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.5 |
pkg config |
unicode |
timestamp |
2024-05-11 10:57:16 UTC (02 16:08:14 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_15.0_msvc_msvc_17.6 |
pkg config |
default |
timestamp |
2024-05-11 10:57:01 UTC (02 16:08:30 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.16.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.5 |
pkg config |
default |
timestamp |
2024-05-11 10:56:50 UTC (02 16:08:41 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
Changes
Changelog
This is the changelog for cxxopts
, a C++11 library for parsing command line
options. The project adheres to semantic versioning.
3.2
Bug fixes
- Fix unannotated fallthrough.
- Fix sign conversion with Unicode output.
- Don't initialize regex in static initialiser.
- Fix incorrect integer overflow checks.
Added
Changed
- Change quote output to '' to match Windows.
- Don't split positional arguments by the list delimiter.
- Order help groups by the order they were added.
3.1.1
Bug Fixes
- Fixed version number in header.
- Fixed cast warning in Unicode function.
3.1
Added
- Support for multiple long names for the same option (= multiple long aliases)
- Add a
program()
function to retrieve the program name.
- Added a .clang-format file.
- Added iterator and printing for a ParseResult.
Changed
- Cleanup exception code, add cxxopts::exceptions namespace.
- Renamed several exceptions to be more descriptive, and added to a nested namespace.
Bug Fixes
- Fix
arguments()
having no key for options that only have a short name.
3.0
Changed
- Only search for a C++ compiler in CMakeLists.txt.
- Allow for exceptions to be disabled.
- Fix duplicate default options when there is a short and long option.
- Add
CXXOPTS_NO_EXCEPTIONS
to disable exceptions.
- Fix char parsing for space and check for length.
- Change argument type in
Options::parse
from char**
to const char**
.
- Refactor parser to not change its arguments.
ParseResult
doesn't depend on a reference to the parser.
- Fixed several warnings and code quality issues.
- Improved formatting for help descriptions.
- Improve integer parsing.
Added
- A list of unmatched arguments is available in
ParseResult
.
- Support single letter options with argument attached.
- Use if it is present.
Bug Fixes
- Fix missing option name in exception.
2.2
Changed
- Allow integers to have leading zeroes.
- Build the tests by default.
- Don't check for container when showing positional help.
Added
- Iterator inputs to
parse_positional
.
- Throw an exception if the option in
parse_positional
doesn't exist.
- Parse a delimited list in a single argument for vector options.
- Add an option to disable implicit value on booleans.
Bug Fixes
- Fix a warning about possible loss of data.
- Fix version numbering in CMakeLists.txt
- Remove unused declaration of the undefined
ParseResult::get_option
.
- Throw on invalid option syntax when beginning with a
-
.
- Throw in
as
when option wasn't present.
- Fix catching exceptions by reference.
- Fix out of bounds errors parsing integers.
2.1.1
Bug Fixes
- Revert the change adding
const
type for argv
, because most users expect
to pass a non-const argv
from main
.
2.1
Changed
- Options with implicit arguments now require the
--option=value
form if
they are to be specified with an option. This is to remove the ambiguity
when a positional argument could follow an option with an implicit value.
For example, --foo value
, where foo
has an implicit value, will be
parsed as --foo=implicit
and a positional argument value
.
- Boolean values are no longer special, but are just an option with a default
and implicit value.
Added
- Added support for
std::optional
as a storage type.
- Allow the help string to be customised.
- Use
const
for the type in the argv
parameter, since the contents of the
arguments is never modified.
Bug Fixes
- Building against GCC 4.9 was broken due to overly strict shadow warnings.
- Fixed an ambiguous overload in the
parse_positional
function when an
initializer_list
was directly passed.
- Fixed precedence in the Boolean value regex.
2.0
Changed
Options::parse
returns a ParseResult rather than storing the parse
result internally.
- Options with default values now get counted as appearing once if they
were not specified by the user.
Added
- A new
ParseResult
object that is the immutable result of parsing. It
responds to the same count
and operator[]
as Options
of 1.x did.
- The function
ParseResult::arguments
returns a vector of the parsed
arguments to iterate through in the order they were provided.
- The symbol
cxxopts::version
for the version of the library.
- Booleans can be specified with various strings and explicitly set false.
1.x
The 1.x series was the first major version of the library, with release numbers
starting to follow semantic versioning, after 0.x being unstable. It never had
a changelog maintained for it. Releases mostly contained bug fixes, with the
occasional feature added.