The MassCalculator CLI is built using CMake, therefore two steps are needed:
Create a build directory, anywhere but inside the source directory. Call CMake using the following commands:
cmake -S $MASSCALCULATOR_CLI_SOURCE -B <BUILD DIRECTORY> -G Ninja -DCMAKE_BUILD_TYPE=<Debug|Release>
cmake -S $MASSCALCULATOR_CLI_SOURCE -B <BUILD DIRECTORY> -DBUILD_DOCS=ON
From the build directory call
cmake --build <BUILD DIRECTORY> --config <Debug|Release>
The Doxygen documentation will be available under the subdirectory docs/html
of your build directory. E.g., in build/docs/html
.