CPP-AP 2.7.0
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 each test file as a separate executable in the build/tests/
directory.
You can run tests from each test file separately with:
To execute all tests at once run:
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>
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.