Building AstuteDDS

Requirements

  • CMake 3.20 or later
  • C++20 compatible compiler (GCC 10+, Clang 12+, MSVC 2019+)
  • pthread library (Unix/Linux)
  • Qt6 (optional, for shapes demo)

Build Options

Option Default Description
ASTUTEDDS_BUILD_TESTS ON Build test suite
ASTUTEDDS_BUILD_EXAMPLES ON Build examples
ASTUTEDDS_BUILD_TOOLS ON Build IDL compiler
ASTUTEDDS_ENABLE_SECURITY OFF Enable DDS Security

Build Instructions

mkdir build && cd build
cmake .. -DASTUTEDDS_BUILD_EXAMPLES=ON
cmake --build .
ctest --output-on-failure

See the main README for more details.