[gobject-introspection] MSVC Builds: Update Generation of everything.[c|h]



commit 9b2effedf08c5842f9ac49896875e5df1f63db4d
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Sep 3 11:30:35 2014 +0800

    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

 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 bc958a4..8d25c12 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 > $@


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]