CPP-AP 2.2.6
Command-line argument parser for C++20
|
Note:
The project uses doctest framework for unit testing, however it is already installed in the tests/external directory, so there is no need to install it sepparately.
This will build the test executable run
in the <project-root>/build/tests
directory.
Note:
Test suites in the project have the same names as the files they're in except for the
test_extarnal_libs_config.cpp
file which defines thetest_doctest_config
test suite.
Note:
The project uses
clang-format-18
which is natively available on theUbuntu-24.04 LTS
system.If the
llvm-18
toolchain isn't available on your system, the installation instructions can be found on the llvm apt page. After installing the toolchain runsudo apt install clang-format-18
.
You can format the code manually using clang-format-18
or you can use the prepared python script:
To inspect the all script's options and usage run:
Note:
The script requires
python >= 3.9
Note:
You can view the online documentation for the latest version here.
To view the documentation for the previous versions use the following URL pattern:
https://spectral519.github.io/cpp-ap/<version>Please keep in mind that the online documentation is available only for versions
>= 2.2.5
- for older versions the documentation has to be built locally.
The documentation for this project can be generated using Doxygen, styled with a custom fork of the doxygen-awesome-css theme.
doxygen-awesome-ccs
theme fork is included as a submodule within the project.To generate the documentation, run the following commands in your terminal:
This should create a documentation
directory containing the project's documentation in html format.
Note:
Markdown links to other files or sections and the GFM-style callouts might not be rendered properly in the Doxygen output. To fix these issues you can run the postprocessing script:
python3 scripts/postprocess_doxyhtml.py ./documentationor you can view those documents by using the Related Pages section on the navigation bar.