.. _project-file:
********************
Binding Project File
********************
Instead of directing the Generator behaviour via command line, the binding developer
can write a XML project file describing the same information, and avoid the hassle
of a long stream of command line arguments.
.. _project-file-structure:
The project file structure
==========================
Here follows a comprehensive example of a generator project file.
.. code-block:: xml
Project file tags
=================
The generator project file tags are in direct relation to the
:ref:`command line arguments `. All of the current command line
options provided by |project| were already seen on the :ref:``,
for new command line options provided by additional generator modules (e.g.: qtdoc,
Shiboken) could also be used in the generator project file following simple conversion rules.
For tags without options, just write as an empty tag without any attributes. Example:
.. code-block:: bash
--BOOLEAN-ARGUMENT
becomes
.. code-block:: xml
and
.. code-block:: bash
--VALUE-ARGUMENT=VALUE
becomes
.. code-block:: xml