Running CMake generates targets (conceptually this includes Visual Studio projects when running on Windows) that you can compile individually. CMake lists RTSDK-specific targets in stdout.1 You can use CMake build configuration options to control the specific set of RTSDK targets generated by CMake (for details, refer to Section 4.4).
For example, when setting BUILD_ETA_PERFTOOLS=ON (this is the default), CMake configures the following targets:
• ConsPerf_shared
• ConsPerf
• NIProvPerf_shared
• NIProvPerf
• ProvPerf_shared
• ProvPerf
• TransportPerf_shared
• TransportPerf
When the RTSDK successfully completes the CMake configuration, any target can be built directly if it is included with the configuration (e.g., make ConsPerf).
The following table compares the RTSDK package directory structure of versions prior to and starting with 2.2.1.L1. The following changes were introduced into the structure over time:
• RTSDK version 1.2: Starting with this version, CMake support was introduced. This changed the directory structure to include top-level CMake, Cpp-C, and other directories to support a build using CMake.
• RTSDK version 2.2.1: Starting with this version, the RTSDK RRG package no longer contains the binary pack. Instead, the binary pack is provided as a separate BinaryPack RRG package, which is illustrated in the following table. For more information, see Section 3.4. For how to prepare the binary pack to build RTSDK examples, see Section 3.1.1.
Table 2: RTSDK C/C++ Package Structures
Structure starting with RTSDK 1.2.0
Structure starting with RTSDK 2.2.1
RRG package:
BinaryPack RRG package: RRG package:
The installdb directory includes external libraries (including libcurl). Examples might need to set LD_LIBRARY_PATH for Linux or make sure that the libraries are otherwise accessible for Windows (e.g., include the directory in %PATH%).
The following sections provide details of the package directory structure changes for specific versions.
1 For non-RTSDK targets, refer to CMake’s documentation and broader CMake developer community (both accessed from https://cmake.org/documentation).