giscanner/sourcescanner.py: Update for Visual C++ usage
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 14 Aug 2012 07:37:14 +0000 (15:37 +0800)
committerColin Walters <walters@verbum.org>
Sat, 27 Oct 2012 16:06:10 +0000 (12:06 -0400)
commitfe669d9c2d76a369161633ae43b3147ce369aaec
tree3a4a41cdafdb12fbc5e2a726f4e3a50379555e74
parent5655519b2c8f0f6d2d2a9c5ca12176e2fb948bcd
giscanner/sourcescanner.py: Update for Visual C++ usage

Since the Visual C++ (cl.exe) preprocessor does not accept source input
from stdin (the '-' preprocessor flag, we need to use the GCC preprocessor
as a helper here.

Note that the generated dumper program is still compiled and run by
Visual C++.

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