bosswestfalen::string_builder offers an easy to use class to convert (almost) any type to std::string and concatenate them on demand.
To build the project CMake 3.9 or later is needed.
The building is straight forward:
- create build directory
- execute
cmake, e.g.cmake -H. -B<build> - build from :
cmake --build .
Note: See Testing on how to disable tests.
Tests will be build by default.
To disable this cmake must be called with -DBUILD_TEST=OFF.
For unit testing Catch2 is used.
Code coverage is available by default. Use `-DSB_TEST_COVERAGE=OFF" to disable.
To generate the coverage report run target lcov_html.
The report is written to <build>/test/html.
Note: Code coverage is only available if building with GCC.
Also it is assumed that gcov, lcov, and genhtml are available.
Documentation is generated with Doxygen.
To generate, build target doc.