diff options
author | Bruno dos Santos de Araujo <bruno.araujo@openbossa.org> | 2009-09-25 09:51:29 -0400 |
---|---|---|
committer | Bruno dos Santos de Araujo <bruno.araujo@openbossa.org> | 2009-09-25 10:12:21 -0400 |
commit | 42562fa1c3794ba9657cdfd29cbee33000316d52 (patch) | |
tree | 466aeabbad0ae4bbba2e3280f32513908917fbeb | |
parent | 50bfbf524e84fee2b3e7cb7a6e74eab73cc99ab1 (diff) |
Add manpages for generatorrunner, docgenerator and boostpythongenerator. (Fixes: #29)
-rw-r--r-- | CMakeLists.txt | 4 | ||||
l--------- | boostpythongenerator.1 | 1 | ||||
l--------- | docgenerator.1 | 1 | ||||
-rw-r--r-- | generatorrunner.1 | 84 |
4 files changed, 90 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fdf3c5850..43ad61dd8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,6 +69,10 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/generatorrunner.pc DESTINATION install(FILES ${CMAKE_CURRENT_BINARY_DIR}/FindGeneratorRunner.cmake DESTINATION share/cmake-2.6/Modules) +#FIXME: manpages should be installed only on Linux targets +file(GLOB manpages ${CMAKE_CURRENT_SOURCE_DIR}/*.1) +install(FILES ${manpages} DESTINATION share/man/man1) + enable_testing() add_subdirectory(generators) diff --git a/boostpythongenerator.1 b/boostpythongenerator.1 new file mode 120000 index 000000000..c65282f98 --- /dev/null +++ b/boostpythongenerator.1 @@ -0,0 +1 @@ +generatorrunner.1
\ No newline at end of file diff --git a/docgenerator.1 b/docgenerator.1 new file mode 120000 index 000000000..c65282f98 --- /dev/null +++ b/docgenerator.1 @@ -0,0 +1 @@ +generatorrunner.1
\ No newline at end of file diff --git a/generatorrunner.1 b/generatorrunner.1 new file mode 100644 index 000000000..b1284c70c --- /dev/null +++ b/generatorrunner.1 @@ -0,0 +1,84 @@ +.TH GENERATORRUNNER 1 "SEPTEMBER 2009" Linux "User Manuals" +.SH NAME +generatorrunner \- plugin-based code generator +.SH SYNOPSIS +.B generatorrunner --generatorSet=<plugin name> [options] header\-file typesystem\-file +.B ... +.SH DESCRIPTION +.B 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: + +.B boostpython +\- Generates Boost::Python-based wrappers that compound a Python binding +for the library described in the typesystem, making the C++ classes available +for Python developers. Can be called by supplying +.B --generatorSet=boostpython +to +.B generatorrunner +or by calling the convenience executable +.B boostpythongenerator. + +.B qtdoc +\- Generates Sphinx-based documentation for C++ libraries documented using +.B qdoc3 +documentation syntax, using the XML files created by the documentation tool +.B (qdoc3). +Can be called supplying +.B --generatorSet=qtdoc +to +.B generatorrunner +or by calling the convenience executable +.B docgenerator. + +Other plugins can be used with +.B 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. + +.SH OPTIONS +.SS "General options" +.IP --debug-level=[sparse|medium|full] +The amount of messages displayed. +.IP --documentation-only +Only generates the documentation. +.TP +.BI --help \fR,\fP -h \fR,\fP -? +Prints the usage message. +.IP --include-paths=\fI<path>[:path:..]\fR +The directories where the generator will search for the +headers. Works like gcc's -I flag. +.IP --license-file=\fI[licensefile]\fR +Template for copyright headers of generated files. +.IP --no-supress-warnings +Show all warnings. +.IP --output-directory=\fI[dir]\fR +The directory where the generated files will be written. +.IP --silent +Avoid printing any messages. +.IP --typesytem-paths=\fI<path>[:path:..]\fR +The directories where the generator will search for the +external typesystems referred by the main one. +.IP --version +Displays the current version. +.SS "Specific to boostpython plugin" +.IP --disable-named-arg +Drops support for named args. +.SS "Specific to qtdoc plugin" +.IP --documentation-code-snippets-dir +Directory used to search code snippets used by the documentation +.IP --documentation-data-dir +Directory with XML files generated by documentation tool (qdoc3 or Doxygen) +.IP --documentation-out-dir +The directory where the generated documentation files will be written +.IP --library-source-dir +Directory where library source code is located + +.SH 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> + |