.. _safeddsgen_usage: Usage ===== This section explains the usage of *Safe DDS Gen* tool and briefly describes the generated files. Running the *Safe DDS Gen* Java application ---------------------------------------------- First, the steps outlined in :ref:`safeddsgen_install_linux` must be completed for the installation of *Safe DDS Gen*. If the ``scripts`` folder path is added to the ``PATH`` environment variable, *Safe DDS Gen* can be executed running the following command: .. code-block:: bash $ safeddsgen .. note:: In case the PATH has not been modified, these scripts can be found in the ``/scripts`` directory. .. _safeddsgen_supported_options: Supported options ------------------- The expected argument list of the application is: .. code-block:: bash safeddsgen [] [ ...] Where the option choices are: .. list-table:: :header-rows: 1 * - Option - Description * - ``--help`` - Shows the help information * - ``--version`` - Shows the current version of eProsima *Safe DDS Gen* * - ``-D `` - Sets the output directory where the generated files are created * - ``-I `` - Add directory to preprocessor include paths * - ``-T `` - Sets a specific directory for preprocessor temporary files * - ``--no-preprocessor`` - disables the preprocessor * - ``--preprocessor `` - Specifies the preprocessor to use