scclib
Stable Cloud Computing C++ Library
|
A build system using GNU make is provided for environments where Bazel is not available.
Shared libaries and applications can be built from their directories, with output to bin/
and obj/
directories under the project root.
General make help:
Debug and release builds:
Using the GNU make system requires several submodules to be available under the import/
directory.
To initialize the submodules:
To refresh the submodules:
Running unit tests requires a git submodule snapshot of googletest.
Now can build and run unit tests, for example from net/unittest
directory.
Code coverage instruments the code using the –coverage -fprofile-arcs -ftest-coverage options, and links with -lgcov. The gcov application can be used to analyze the code.
An example using gcov from the examples/net
directory: