diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2013-12-16 11:25:36 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2013-12-16 11:27:03 +0800 |
commit | 56e07beb2df88f6b27cc647eea5b00bfc4ab34a1 (patch) | |
tree | 5bc48c79278eb4cebfce1302768e556f4f9d14ac /atk/Makefile.am | |
parent | c403ddfa064ef3ffaa908fae6323de0dd2519b7d (diff) | |
download | atk-56e07beb2df88f6b27cc647eea5b00bfc4ab34a1.tar.gz |
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
Diffstat (limited to 'atk/Makefile.am')
-rw-r--r-- | atk/Makefile.am | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/atk/Makefile.am b/atk/Makefile.am index 4761a66..1279ff0 100644 --- a/atk/Makefile.am +++ b/atk/Makefile.am @@ -221,38 +221,6 @@ atk-$(ATK_API_VERSION).lib: libatk-$(ATK_API_VERSION).la atk.def EXTRA_DIST = atk.symbols atk.rc.in atkmarshal.list atk.rc atkversion.h.in -dist-hook: ../build/win32/vs9/atk.vcproj ../build/win32/vs10/atk.vcxproj ../build/win32/vs10/atk.vcxproj.filters - -../build/win32/vs9/atk.vcproj: ../build/win32/vs9/atk.vcprojin - for F in $(libatk_1_0_la_SOURCES); do \ - case $$F in \ - *.c) echo ' <File RelativePath="..\..\..\atk\'$$F'" />' \ - ;; \ - esac; \ - done >libatk.sourcefiles - $(CPP) -P - <$(top_srcdir)/build/win32/vs9/atk.vcprojin >$@ - rm libatk.sourcefiles - -../build/win32/vs10/atk.vcxproj: ../build/win32/vs10/atk.vcxprojin - for F in $(libatk_1_0_la_SOURCES); do \ - case $$F in \ - *.c) echo ' <ClCompile Include="..\..\..\atk\'$$F'" />' \ - ;; \ - esac; \ - done >libatk.vs10.sourcefiles - $(CPP) -P - <$(top_srcdir)/build/win32/vs10/atk.vcxprojin >$@ - rm libatk.vs10.sourcefiles - -../build/win32/vs10/atk.vcxproj.filters: ../build/win32/vs10/atk.vcxproj.filtersin - for F in $(libatk_1_0_la_SOURCES); do \ - case $$F in \ - *.c) echo ' <ClCompile Include="..\..\..\atk\'$$F'"><Filter>Source Files</Filter></ClCompile>' \ - ;; \ - esac; \ - done >libatk.vs10.sourcefiles.filters - $(CPP) -P - <$(top_srcdir)/build/win32/vs10/atk.vcxproj.filtersin >$@ - rm libatk.vs10.sourcefiles.filters - DISTCLEANFILES = \ stamp-atkmarshal.h stamp-atkmarshal.c \ s-enum-types-h s-enum-types-c |