3. CMake optionsΒΆ

eProsima DDS Router provides numerous CMake options for changing the behavior and configuration of DDS Router. These options allow the developer to enable/disable certain DDS Router settings by defining these options to ON/OFF at the CMake execution, or set the required path to certain dependencies.

Warning

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

Option

Description

Possible values

Default

CMAKE_BUILD_TYPE

CMake optimization build type.

Release
Debug

Release

BUILD_TESTS

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

OFF
ON

OFF

BUILD_APP_TESTS

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

OFF
ON

OFF

BUILD_DOCUMENTATION_TESTS

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

OFF
ON

OFF

BUILD_DOCUMENTATION

Build the DDS Router documentation. It is
set to ON if BUILD_TESTS_DOCUMENTATION is set
to ON.

OFF
ON

OFF

LOG_INFO

Active DDS Router execution logs. It is
set to ON if BUILD_TESTS_DOCUMENTATION is set
to ON.

OFF
ON

ON if Debug
OFF otherwise