generatorrunner

Langue: en

Version: 331543 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)

NAME

generatorrunner - plugin-based binding source code generator

SYNOPSIS

generatorrunner --generatorSet=<plugin name> [options] header-file typesystem-file ...

DESCRIPTION

generatorrunner is a utility that uses the information taken from APIExtractor related to the provided C++ headers and typesystem files and execute generators using this information. Generators are plugins and you need to specify one using the --generatorSet parameter. At the moment there are two generators available:

qtdoc - Generates Sphinx-based documentation for C++ libraries documented using qdoc3 documentation syntax, using the XML files created by the documentation tool (qdoc3). Can be called supplying --generatorSet=qtdoc to generatorrunner or by calling the convenience executable docgenerator.

Other plugins can be used with generatorrunner, provided that they follow the generator front-end specifications, and can be written to generate code or documentation for any target languague you desire. For more information about the generator front-end architecture and current limitations, refer to http://www.pyside.org/home-binding.

OPTIONS

General options

--debug-level=[sparse|medium|full]
The amount of messages displayed.
--documentation-only
Only generates the documentation.
--help,-h,-?
Prints the usage message.
--include-paths=<path>[:path:..]
The directories where the generator will search for the headers. Works like gcc's -I flag.
--license-file=[licensefile]
Template for copyright headers of generated files.
--no-supress-warnings
Show all warnings.
--output-directory=[dir]
The directory where the generated files will be written.
--silent
Avoid printing any messages.
--typesytem-paths=<path>[:path:..]
The directories where the generator will search for the external typesystems referred by the main one.
--version
Displays the current version. Drops support for named args.

Specific to qtdoc plugin

--documentation-code-snippets-dir
Directory used to search code snippets used by the documentation
--documentation-data-dir
Directory with XML files generated by documentation tool (qdoc3 or Doxygen)
--documentation-out-dir
The directory where the generated documentation files will be written
--library-source-dir
Directory where library source code is located

AUTHORS

Lauro Moura <lauro.neto at openbossa dot org>, Bruno Araujo <bruno.araujo at openbossa dot org>, Hugo Lima <hugo.lima at openbossa dot org>