FindRTI — CMake 4.1.4 Documentation

# FindRTI

Finds HLA RTI standard libraries and their include directories.

RTI (Run-Time Infrastructure) is a simulation infrastructure standardized by IEEE and SISO, required when implementing HLA (High Level Architecture). It provides a well-defined C++ API, ensuring that M&S (Modeling and Simulation) applications remain independent of a particular RTI implementation.

## Result Variables

This module defines the following variables:

`RTI_FOUND`

  Set to FALSE if any HLA RTI was not found.

`RTI_LIBRARIES`

  The libraries to link against to use RTI.

`RTI_DEFINITIONS`

  Compile definitions for using RTI. Default value is set to `-DRTI_USES_STD_FSTREAM`.

## Cache Variables

The following cache variables may also be set:

`RTI_INCLUDE_DIR`

  Directory where RTI include files are found.

## Examples

Finding RTI:

    find_package(RTI)