diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-09-03 11:30:35 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-09-04 00:08:03 +0800 |
commit | 9b2effedf08c5842f9ac49896875e5df1f63db4d (patch) | |
tree | 07f2b740aed881e2bda195e102366855a9b0fa83 /build | |
parent | 99423f4104e699021e17752461cd6f23b1ebca82 (diff) | |
download | gobject-introspection-9b2effedf08c5842f9ac49896875e5df1f63db4d.tar.gz |
MSVC Builds: Update Generation of everything.[c|h]
Like the update to tests/Makefile.am, update gi-tests-msvc.mak so that
everything.[c|h] can be generated with the symbols annotated for export and
the headers that define those annotations can be pulled in appropriately.
https://bugzilla.gnome.org/show_bug.cgi?id=732669
Diffstat (limited to 'build')
-rw-r--r-- | build/gi-tests-msvc.mak | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build/gi-tests-msvc.mak b/build/gi-tests-msvc.mak index bc958a43..8d25c12d 100644 --- a/build/gi-tests-msvc.mak +++ b/build/gi-tests-msvc.mak @@ -247,7 +247,10 @@ warn_tests_log.txt: # Rules for source code generation everything.c everything.h: $(PYTHON2) $(G_IR_SCANNER_CURRENT) -I.. \ - --generate-typelib-tests=Everything,everything.h,everything.c + --generate-typelib-tests=Everything,everything.h,everything.c \ + --function-decoration=_GI_TEST_EXTERN \ + --include-first-in-src=config.h \ + --include-last-in-header=gitestmacros.h gitestoffsets.c: Offsets-$(GI_APIVERSION).typelib $(PYTHON2) ..\tests\offsets\gen-gitestoffsets ..\tests\offsets\offsets.h > $@ |