build: Use Python to Generate the MSVC Projects
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 16 Dec 2013 03:25:36 +0000 (11:25 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 16 Dec 2013 03:27:03 +0000 (11:27 +0800)
commit56e07beb2df88f6b27cc647eea5b00bfc4ab34a1
tree5bc48c79278eb4cebfce1302768e556f4f9d14ac
parentc403ddfa064ef3ffaa908fae6323de0dd2519b7d
build: Use Python to Generate the MSVC Projects

This would move the generation of the ATK Visual C++ 2008/2010 project
to Python 2/3 scripts from autotools scripts.  This would have the
following advantages:

-Reduce congestion in the autotools files, most notably atk/Makefile.am,
 and make everything that concerns the completion of MSVC project files
 fo under build/
-Easier to maintain and test, as a standard installation of Python (even
 on Windows) is enough to generate the Project files, and this can still
 be easily called during 'make dist'.
-Also paves the first steps for people wanting to build ATK from a GIT
 checkout, as this will help simplify the process

There is now a dependency on Python 2/3 for people that are wishing to do
'make dist', as naturally the scripts to do the Visual C++ project
generation is done with Python, but since one is likely going to generate
the .gir files for ATK when doing 'make dist'/'make distcheck', this is
satisfied as the scripts used to generate the .gir files are Python 2.6+
scripts as well.

https://bugzilla.gnome.org/show_bug.cgi?id=690145
16 files changed:
atk/Makefile.am
build/Makefile.am
build/atk_msvc_files.py [new file with mode: 0644]
build/msvcfiles.py [new file with mode: 0644]
build/win32/vs10/.gitignore
build/win32/vs10/Makefile.am
build/win32/vs10/atk-install.props [deleted file]
build/win32/vs10/atk-install.propsin [new file with mode: 0644]
build/win32/vs10/atk.vcxproj.filtersin
build/win32/vs10/atk.vcxprojin
build/win32/vs9/.gitignore
build/win32/vs9/Makefile.am
build/win32/vs9/atk-install.vsprops [deleted file]
build/win32/vs9/atk-install.vspropsin [new file with mode: 0644]
build/win32/vs9/atk.vcprojin
configure.ac