<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>2. Command line options — GeneratorRunner v0.6.14 documentation</title> <link rel="stylesheet" href="_static/pysidedocs.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '', VERSION: '0.6.14', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="_static/jquery.js"></script> <script type="text/javascript" src="_static/underscore.js"></script> <script type="text/javascript" src="_static/doctools.js"></script> <link rel="top" title="GeneratorRunner v0.6.14 documentation" href="index.html" /> <link rel="next" title="3. Binding Project File" href="projectfile.html" /> <link rel="prev" title="1. Generator Overview" href="overview.html" /> </head> <body> <div id="container"> <div class="header"> <div class="header_container"> <div class="logo"><a href="http://www.pyside.org"><img alt="PySide" src="_static/pysidelogo.png" width="199" height="102" /></a></div> <div class="related"> <ul> <li><a href="index.html">GeneratorRunner v0.6.14 documentation</a></li> </ul> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h3><a href="contents.html">Table Of Contents</a></h3> <ul> <li><a class="reference internal" href="#">2. Command line options</a><ul> <li><a class="reference internal" href="#usage">2.1. Usage</a></li> <li><a class="reference internal" href="#options">2.2. Options</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="overview.html" title="previous chapter">1. Generator Overview</a></p> <h4>Next topic</h4> <p class="topless"><a href="projectfile.html" title="next chapter">3. Binding Project File</a></p> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="search.html" method="get"> <input type="text" name="q" id="q" size="18" /> <input type="submit" value="Go" id="search_button" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="command-line-options"> <span id="command-line"></span><h1>2. Command line options<a class="headerlink" href="#command-line-options" title="Permalink to this headline">¶</a></h1> <div class="section" id="usage"> <h2>2.1. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2> <div class="highlight-python"><pre>generator [options] header-file typesystem-file</pre> </div> </div> <div class="section" id="options"> <h2>2.2. Options<a class="headerlink" href="#options" title="Permalink to this headline">¶</a></h2> <dl class="docutils" id="api-version"> <dt><tt class="docutils literal"><span class="pre">--api-version=<version></span></tt></dt> <dd>Specify the supported api version used to generate the bindings.</dd> </dl> <dl class="docutils" id="debug-level"> <dt><tt class="docutils literal"><span class="pre">--debug-level=[sparse|medium|full]</span></tt></dt> <dd>Set the debug level.</dd> </dl> <dl class="docutils" id="documentation-only"> <dt><tt class="docutils literal"><span class="pre">--documentation-only</span></tt></dt> <dd>Do not generate any code, just the documentation.</dd> </dl> <dl class="docutils" id="drop-type-entries"> <dt><tt class="docutils literal"><span class="pre">--drop-type-entries="<TypeEntry0>[;TypeEntry1;...]"</span></tt></dt> <dd>Semicolon separated list of type system entries (classes, namespaces, global functions and enums) to be dropped from generation.</dd> </dl> <dl class="docutils" id="generation-set"> <dt><tt class="docutils literal"><span class="pre">--generation-set</span></tt></dt> <dd>Generator set to be used (e.g. qtdoc).</dd> </dl> <dl class="docutils" id="help"> <dt><tt class="docutils literal"><span class="pre">--help</span></tt></dt> <dd>Display this help and exit.</dd> </dl> <dl class="docutils" id="include-paths"> <dt><tt class="docutils literal"><span class="pre">--include-paths=<path>[:<path>:...]</span></tt></dt> <dd>Include paths used by the C++ parser.</dd> </dl> <dl class="docutils" id="license-file-license-file"> <dt><tt class="docutils literal"><span class="pre">--license-file=[license-file]</span></tt></dt> <dd>File used for copyright headers of generated files.</dd> </dl> <dl class="docutils" id="no-suppress-warnings"> <dt><tt class="docutils literal"><span class="pre">--no-suppress-warnings</span></tt></dt> <dd>Show all warnings.</dd> </dl> <dl class="docutils" id="output-directory"> <dt><tt class="docutils literal"><span class="pre">--output-directory=[dir]</span></tt></dt> <dd>The directory where the generated files will be written.</dd> </dl> <dl class="docutils" id="silent"> <dt><tt class="docutils literal"><span class="pre">--silent</span></tt></dt> <dd>Avoid printing any message.</dd> </dl> <dl class="docutils" id="typesystem-paths"> <dt><tt class="docutils literal"><span class="pre">--typesystem-paths=<path>[:<path>:...]</span></tt></dt> <dd>Paths used when searching for type system files.</dd> </dl> <dl class="docutils" id="version"> <dt><tt class="docutils literal"><span class="pre">--version</span></tt></dt> <dd>Output version information and exit.</dd> </dl> </div> </div> </div> </div> </div> <div class="clearer"></div> </div> <div class="footer"> <a href="http://www.indt.org.br"><img src="_static/logo_indt.jpg" alt="Indt" border="0" /></a> <a href="http://www.openbossa.org"><img src="_static/logo_openbossa.png" alt="Openbossa" border="0" /></a> <a href="http://qt.nokia.com/"><img src="_static/logo_qt.png" alt="Qt" border="0" /></a> <a href="http://www.python.org"><img src="_static/logo_python.jpg" alt="Python" border="0" /></a> </div> </div> </body> </html>