GObject-Introspection was recently changed to support acquiring the name of
the DLL from a library (.lib, etc) that was passed into g-ir-scanner on
Windows, like the *nix builds, instead of directly passing in the name of
the DLL. This updates the introspection build process, so that
introspection files for ATK can continue to be properly built.
# NMake Makefile to build Introspection Files for ATK
-# Change or pass in as a variable/env var if needed
-DLLNAME = atk-1-vs$(VSVER)
-
-# Please do not change anything after this line
-
!include testsrules_msvc.mak
APIVERSION = 1.0
@set LIB=win32\vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(BASEDIR)\lib;$(LIB)
$(PYTHON2) $(G_IR_SCANNER) --verbose -I.. --add-include-path=.. \
--namespace=Atk --nsversion=$(APIVERSION) --include=GObject-2.0 \
- --no-libtool --pkg=glib-2.0 --library=$(DLLNAME) \
+ --no-libtool --pkg=glib-2.0 --library=atk-1.0 \
--reparse-validate --add-include-path=$(G_IR_INCLUDEDIR) \
--pkg-export atk --warn-all --c-include "atk/atk.h" \
-DATK_DISABLE_DEPRECATED -DATK_COMPILATION -DATK_LOCALEDIR=\"/dummy/share/locale\" \