MSVC Builds: Rework Introspection Build
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 10 Jan 2014 07:36:29 +0000 (15:36 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 10 Jan 2014 07:36:29 +0000 (15:36 +0800)
commit653bd24c67a081c2bf0ea3fce7f5fe033cd7390d
tree753591efa8274fffb6b4869ea2d03502d8632e59
parent78a37aaab62ab6ec552db05397741b6d49067d60
MSVC Builds: Rework Introspection Build

The current approach of building the introspection files for ATK works, but
is often cumbersome as one needs to set many environmental variables before
launching a solution file, which runs a Windows batch script to generate
the .gir/.typelib files.  It was also possible to hand-run the batch script
from the Visual Studio command prompt, but even more environmental
variables need to be set.

This changes the approach to build the introspection files using an NMake
Makefile (but elimating from the Visual Studio Project Files the part to
build the introspection files) to:
-Make it clearer to the person building the introspection files what
 environmental variables are needed, specifically for PKG_CONFIG_PATH and
 MINGWDIR and CFG (formerly CONF).  Setting stuff like VSVER, PLAT and
 BASEDIR is no longer required, which was a bit clunky.
-Allows some more easier flexibility on the build of the intropsection
 files.

This also cleans up the gen-file-list.py file as it can share parts in the
recently-added msvcfiles.py
15 files changed:
build/Makefile.am
build/atk-introspection-msvc.mak [new file with mode: 0644]
build/gen-file-list-atk.py [new file with mode: 0644]
build/introspection-msvc.mak [new file with mode: 0644]
build/win32/Makefile.am
build/win32/gen-file-list-atk.py [deleted file]
build/win32/gengir.bat [deleted file]
build/win32/vs10/Makefile.am
build/win32/vs10/atk-gengir.props [deleted file]
build/win32/vs10/atk.sln
build/win32/vs10/gengir.vcxproj [deleted file]
build/win32/vs9/Makefile.am
build/win32/vs9/atk-gengir.vsprops [deleted file]
build/win32/vs9/atk.sln
build/win32/vs9/gengir.vcproj [deleted file]