Visual Studio builds: Adapt to the Python-fied glib-genmarshal
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 12 Jul 2017 04:27:44 +0000 (12:27 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 12 Jul 2017 04:37:19 +0000 (12:37 +0800)
commitcd55690be5d0e7f62f656494d1c36954ac677ce9
tree3708ea161779e16e5018ed9a066979bf4911e06f
parentdc009fa2c87e3f3e0bdcd7068057e7c5a5cd991f
Visual Studio builds: Adapt to the Python-fied glib-genmarshal

glib-genmarshal is used for the Visual Studio builds, and has been
recently converted to a Python script instead of a compiled C program.

Since Visual Studio calls cmd.exe to run Custom Build steps, we need
to call Python explicitly to run glib-genmarshal as shebang lines
are not supported in cmd.exe, which means that Python will become a
hard build-time requirement instead of being optional.  This also means
that the atk.pc pkg-config file will always be generated.

However, since ATK does not yet require a really recent GLib, maintain
compatibility with older GLib by calling glib-genmarshal.exe when the
glib-genmarshal Python script is not found.
win32/vs10/README.txt
win32/vs10/atk-gen-src.props
win32/vs10/atk-install.propsin
win32/vs10/atk.vcxprojin
win32/vs9/README.txt
win32/vs9/atk-gen-src.vsprops
win32/vs9/atk-install.vspropsin
win32/vs9/atk.vcprojin