scanner: Allow CFLAGS to contain arbitrary preprocessor commands like -include
authorColin Walters <walters@verbum.org>
Wed, 6 Mar 2013 17:16:24 +0000 (12:16 -0500)
committerColin Walters <walters@verbum.org>
Wed, 6 Mar 2013 22:15:45 +0000 (17:15 -0500)
commit7639a440b43ea1197de96035304404b0c87db608
treeb0d54d2ba3302a43b5424ad6a2bde4a85dd4046e
parent3b6de4492d03e69bb29b09b4b1db9960cee9c7d0
scanner: Allow CFLAGS to contain arbitrary preprocessor commands like -include

Newer spidermonkey .pc file contains a -include argument, which
g-ir-scanner doesn't understand.  Rather than us attempting to replicate
all of cpp's options, use wrapper arguments in Makefile.introspection
to pass them through.

https://bugzilla.gnome.org/show_bug.cgi?id=695182
Makefile.introspection
giscanner/scannermain.py
giscanner/sourcescanner.py