A few options are available to customize the build processs of the library. Most standard CMake variables for libraries (such as
BUILD_SHARED) apply, unless otherwise specified.
Since the library supports many different platforms, it’s possible to select specifically which platform is used. With the
PLATFORM_LIBCOMMUNISM variable, you can determine what platform will be built.
By default, this variable is set to
Auto. With this value, the build script determines which platform specific code based on the target architecture and OS.
Any other value will override the automatic detection of the platform. The following values are supported platforms:
There are a few test cases that can be built into a test executable to exercise the library. By default, tests are not built; change the