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_ALL

Build the DDS Router application tool ddsrouter.
Setting to ON sets to ON
BUILD_TOOL, BUILD_LIBRARY, and
BUILD_DOCS.

OFF
ON

OFF

BUILD_LIBRARY

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

OFF
ON

ON

BUILD_TOOL

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

OFF
ON

ON

BUILD_DOCS

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

OFF
ON

OFF

BUILD_TESTS

Build the DDS Router application and documentation
tests. Setting BUILD_TESTS to ON sets
BUILD_ALL, BUILD_LIBRARY_TESTS,
BUILD_TOOL_TESTS, and BUILD_DOCS_TESTS
to ON.

OFF
ON

OFF

BUILD_LIBRARY_TESTS

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

OFF
ON

OFF

BUILD_TOOL_TESTS

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

OFF
ON

OFF

BUILD_DOCS_TESTS

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

OFF
ON

OFF

LOG_INFO

Activate DDS Router execution logs. It is
set to ON if CMAKE_BUILD_TYPE is set
to Debug.

OFF
ON

ON if Debug
OFF otherwise