String util for C. The lib provides a trim and a strexplode function.
Explains how to build a debug version.
$ cmake -DCMAKE_BUILD_TYPE=Debug -B cmake-build-debug -S .
$ cmake --build cmake-build-debugBuild and run tests.
$ cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON -B cmake-build-debug -S .
$ cmake --build ./cmake-build-debug --target testBuild a release version and install it.
$ cmake -DCMAKE_BUILD_TYPE=Release -B cmake-build-release -S .
$ sudo cmake --build cmake-build-release --target install| Name | Description |
|---|---|
ENABLE_TESTS |
If ON tests are build and executed. Default OFF |
| Name | Description | Condition |
|---|---|---|
google-test |
Unit test framework | Only if ENABLE_TESTS is ON. Automatically fetch and build via cmake |