2. CMake optionsΒΆ

eProsima DDS Monitor has several CMake options that change the behavior and configuration of DDS Monitor. Set an option to ON/OFF when running CMake to enable or disable a DDS Monitor setting, or use an option to set the path to a required dependency.

Warning

These options are only for developers who installed the DDS Monitor following the compilation steps described in Linux installation from sources.

Option

Description

Possible values

Default

QT_PATH

Path to the directory where Qt has been installed. This
argument is required to find the Qt binaries. An example
of the path to the Qt 6.4 installation directory is:
/opt/Qt/6.4.2/gcc_64.

BUILD_TESTS

Build the DDS Monitor application and documentation
tests. Setting BUILD_TESTS to ON sets
BUILD_APP_TESTS to ON and
BUILD_DOCUMENTATION_TESTS to ON.

OFF
ON

OFF

BUILD_APP_TESTS

Build the DDS Monitor application tests. It is
set to ON if BUILD_TESTS is set to ON.

OFF
ON

OFF

BUILD_DOCUMENTATION_TESTS

Build the DDS Monitor documentation tests. It is
set to ON if BUILD_TESTS is set to ON.

OFF
ON

OFF

BUILD_DOCUMENTATION

Build the DDS Monitor documentation. It is
set to ON if BUILD_DOCUMENTATION_TESTS is set
to ON.

OFF
ON

OFF

BUILD_MOCK

Build the Fast DDS Statistics Backend mocks, which is a
simulator of a Fast DDS application that generates random
statistics data for testing the DDS Monitor. It is
set to ON if STATIC_MOCK is set to ON or
COMPLEX_MOCK is set to ON.

OFF
ON

OFF

STATIC_MOCK

Build the Fast DDS Statistics Backend static mock and link
the DDS Monitor application against it. The static
mock is a simulator of a Fast DDS application that generates
deterministic statistics data for testing the DDS
Monitor.

OFF
ON

OFF

COMPLEX_MOCK

Build the Fast DDS Statistics Backend complex mock and link
the DDS Monitor application against it. The complex
mock is a simulator of a Fast DDS application that generates
random statistics data for testing the DDS Monitor

OFF
ON

OFF