Language-specific installation

Obtain Cyclone DDS via Git from the repository hosted on GitHub:

git clone
cd cyclonedds

Building Cyclone DDS

To build and install the required libraries for your applications, use the following:

cd build
cmake -DCMAKE_INSTALL_PREFIX=<install-location> -DBUILD_EXAMPLES=ON ..
cmake --build . --parallel

If you need to reduce the footprint, or have issues with the FindOpenSSL.cmake script, you can explicitly disable it by setting -DENABLE\_SSL=NO to the CMake invocation. For further information, refer to FindOpenSSL.

If you do not require the examples, use -DBUILD_EXAMPLES=OFF to omit them.

To install Cyclone DDS after a successful build:

cmake --build . --target install

The install step copies everything to:

  • <install-location>/lib

  • <install-location>/bin

  • <install-location>/include/ddsc

  • <install-location>/share/CycloneDDS


Depending on the installation location, you may need administrator privileges.

At this point, you are ready to use var-project-short| in your projects.


Build types

The default build type is a release build that includes debugging information (RelWithDebInfo). This build is suitable for applications because it allows the resulting application to be more easily debugged while still maintaining high performance. If you prefer a Debug or pure Release build, add -DCMAKE_BUILD_TYPE=<build-type> to your CMake invocation.