diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-08-25 11:21:05 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-09-03 09:36:39 +0800 |
commit | 5143afb1e79f4a67f57499ca60f6df3a4682eb21 (patch) | |
tree | 7fa93db35b96da90a85639227ef02f7053543752 /build/gi-tests-msvc.mak | |
parent | 3a5a6dff8238fd10345ba94c255826658f4ea714 (diff) | |
download | gobject-introspection-5143afb1e79f4a67f57499ca60f6df3a4682eb21.tar.gz |
tests: Export the Symbols from the Offsets Tests
Like the other test programs, include config.h before anything and decorate
the lone symbols for export, and include $(top_srcdir)/tests so that
gitestmacros.h can be found and used.
https://bugzilla.gnome.org/show_bug.cgi?id=732669
Diffstat (limited to 'build/gi-tests-msvc.mak')
-rw-r--r-- | build/gi-tests-msvc.mak | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/gi-tests-msvc.mak b/build/gi-tests-msvc.mak index 9a22d465..bc958a43 100644 --- a/build/gi-tests-msvc.mak +++ b/build/gi-tests-msvc.mak @@ -97,7 +97,7 @@ barapp.exe: @-if exist $@.manifest @mt /manifest $@.manifest /outputresource:$@;1 gitestoffsets.exe: gitestoffsets.c - $(CC) $(CFLAGS) /I..\girepository /I..\tests\offsets $*.c $(LDFLAGS) girepository-$(GI_APIVERSION).lib + $(CC) $(CFLAGS) /I..\girepository /I..\tests\offsets /I..\tests $*.c $(LDFLAGS) girepository-$(GI_APIVERSION).lib @-if exist $@.manifest @mt /manifest $@.manifest /outputresource:$@;1 @set GI_TYPELIB_PATH=. @-$@ offsets.compiled offsets.introspected @@ -124,7 +124,7 @@ Everything-$(GI_APIVERSION).gir: everything.dll Offsets-$(GI_APIVERSION).gir: offsets.dll $(PYTHON2) $(G_IR_SCANNER_CURRENT) --warn-all --warn-error --reparse-validate \ --namespace=Offsets --nsversion=$(GI_APIVERSION) \ - --no-libtool -I.. -I..\tests\offsets \ + --no-libtool -I.. -I..\tests\offsets -I..\tests \ --pkg=gobject-$(GLIB_APIVERSION) --add-include-path=. --include=GObject-$(GLIB_APIVERSION) \ --library=$* --output=$@ \ ..\tests\offsets\offsets.h ..\tests\offsets\offsets.c |