2. CMake optionsΒΆ

eProsima Fast DDS Statistics Backend provides several CMake options for build configuration of the library.

Option

Description

Possible values

Default

BUILD_DOCS

Build the library documentation. Set to ON if
BUILD_DOCS_TESTS is set to ON.

ON OFF

OFF

BUILD_TESTS

Build the library tests.

ON OFF

OFF

BUILD_DOCS_TESTS

Build the library documentation tests. Setting this
ON will set BUILD_DOCS to ON

ON OFF

OFF

BUILD_SHARED_LIBS

Builds internal libraries as shared libraries, i.e.
causes add_library() CMake function to create
shared libraries if on. All libraries are built
shared unless the library was explicitly added as
a static library.

ON OFF

ON