glib-mkenums: Support reading @rspfiles for arguments

This is needed on Windows where the argument list can exceed the
maximum command-line length when lots of sources are passed to
glib-mkenums.
This commit is contained in:
Nirbheek Chauhan
2018-11-20 14:25:23 +05:30
parent d4cc0b32fd
commit 17316b2c16
3 changed files with 62 additions and 3 deletions

View File

@@ -375,6 +375,15 @@ Write output to FILE instead of stdout.
</para></listitem>
</varlistentry>
<varlistentry>
<term><option>@RSPFILE</option></term>
<listitem><para>
When passed as the sole argument, read and parse the actual arguments from
<literal>RSPFILE</literal>. Useful on systems with a low command-line length
limit. For example, Windows has a limit of 8191 characters.
</para></listitem>
</varlistentry>
</variablelist>
</refsect1>