This repository contains a set of C++ libraries that provide different RPC communications.
- eProsima Fast RPC provides a fast RPC communication using a modified CDR serialization over TCP.
- eProsima RPC over DDS provides an RPC communication over an OMG DDS implementation. Currently it supports eProsima Fast RTPS and RTI DDS implementations.
- eProsima RPC over REST provides an RPC communication over RESTful paradigma.
This repository provides CMake scripts to build and install the RPC libraries. Also in eProsima you can find packages for Linux using autotools and binaries for Windows.
The following subsections explain how to make an out-of-tree build using CMake, for each RPC library:
To enable the building of this library, the option -DRPCPROTO=fastrpc
has to be passed to CMake. By default, this library will be built.
$ mkdir build
$ cd build
$ cmake ..
$ make
To enable the building of this library, the option -DRPCPROTO=rpcdds
has to be passed to CMake.
To compile against eProsima Fast RTPS, the option -DWITH_FASTRTPS=ON
has to be passed to CMake. By default, this library links against eProsima Fast RTPS.
$ mkdir build
$ cd build
$ cmake -DRPCPROTO=rpcdds ..
$ make
To compile against RTI DDS, the option -DWITH_RTIDDS=ON
has to be passed to CMake.
$ mkdir build
$ cd build
$ cmake -DRPCPROTO=rpcdds -DWITH_RTIDDS=ON -DWITH_FASTRTPS=OFF ..
$ make
To enable the building of this library, the option -DRPCPROTO=rpcrest
has to be passed to CMake.
$ mkdir build
$ cd build
$ cmake -DRPCPROTO=rpcrest ..
$ make