sourcescannermain.py: Add --filelist option
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 10 Aug 2012 04:40:10 +0000 (12:40 +0800)
committerColin Walters <walters@verbum.org>
Sat, 27 Oct 2012 16:06:10 +0000 (12:06 -0400)
commit5c70ef2eb32949f8889e9ae654d50bfbf838951f
treebe8568464ecefbd433e6ebd668eae8ad1a65bbde
parentfe669d9c2d76a369161633ae43b3147ce369aaec
sourcescannermain.py: Add --filelist option

Add a function to put the files to pass to g-ir-scanner in a filelist
file, with one source/header file on a single line.  This is done to
work around the limitation of Windows cmd.exe (and MSYS) where the command
line cannot exceed 8192 characters.

When this option is used, g-ir-scanner will only look for the header/source
files that are specified in the filelist file, which is not too hard to
generate.

https://bugzilla.gnome.org/show_bug.cgi?id=681820
giscanner/scannermain.py