From 75b61c34fad2a907becb2ab6367e6b9571091c64 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Tue, 14 Aug 2012 16:17:31 +0800 Subject: Update autotools for Visual C++ projects creation -Add Makefile-msvcproj.am to fill in the cmph, girepository and g-ir-compiler projects -Add various Makefile.am's under build/ to distribute the Visual C++-related files. https://bugzilla.gnome.org/show_bug.cgi?id=681820 --- build/win32/vs9/Makefile.am | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 build/win32/vs9/Makefile.am (limited to 'build/win32/vs9/Makefile.am') diff --git a/build/win32/vs9/Makefile.am b/build/win32/vs9/Makefile.am new file mode 100644 index 00000000..ed82cbca --- /dev/null +++ b/build/win32/vs9/Makefile.am @@ -0,0 +1,30 @@ +EXTRA_DIST = \ + gobject-introspection.sln \ + girepository.vcprojin \ + gir.vspropsin \ + gir.vsprops \ + annotation.vcproj \ + cmph-bdz-test.vcproj \ + cmph.vcprojin \ + everything.vcproj \ + foo.vcproj \ + g-ir-compiler.vcprojin \ + g-ir-generate.vcproj \ + generate_typelibs.vcproj \ + gettype.vcproj \ + gimarshallingtests.vcproj \ + glib-print.vcproj \ + gtkfrob.vcproj \ + install.vcproj \ + regress.vcproj \ + sletter.vcproj \ + testinherit.vcproj \ + utility.vcproj \ + _giscanner.vcproj \ + README.txt + +gir.vsprops: $(top_srcdir)/build/win32/vs9/gir.vspropsin gir.vs9.install + $(CPP) -P - <$(top_srcdir)/build/win32/vs9/gir.vspropsin >$@ + rm gir.vs9.install + +CLEANFILES = gir.vsprops -- cgit v1.2.1 From 39703440cfd4e7949708266270e447b7b22c9347 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Mon, 20 Jan 2014 16:30:22 +0800 Subject: Rework The Visual Studio 2008 Build Process This patch makes the build of G-I on Visual Studio 2008 into a two-step process, as it would make it clearer and easier to the one building G-I by: -Splitting up the property sheets into multiple parts, where pre-configured code (which is currently shipped with the tarball) is copied using custom build steps, so that they can be re-copied when they are updated. This also removes the need for setting environment variables before launching the Visual Studio Project to build the G-I DLL, the tools written in C and the _giscanner Python2 module. The Python2 paths (set to Python 2.7.x) are now set in a property sheet, which can be updated quite easily, if needed. -Use a set of NMake Makefiles to build the introspection files for GLib, and also the .gir's that are shipped with G-I, and make it clear to people what things are needed to build the introspection files. -Standardizing across the board that we now use $(ApiVersion) for the .lib files and the "installation" of headers, etc. Similar updates to the Visual Studio 2010 files will follow later. --- build/win32/vs9/Makefile.am | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'build/win32/vs9/Makefile.am') diff --git a/build/win32/vs9/Makefile.am b/build/win32/vs9/Makefile.am index ed82cbca..a385ce65 100644 --- a/build/win32/vs9/Makefile.am +++ b/build/win32/vs9/Makefile.am @@ -1,16 +1,19 @@ EXTRA_DIST = \ gobject-introspection.sln \ + gi-build-defines.vsprops \ + gi-extra-paths.vsprops \ + gi-gen-srcs.vsprops \ + gi-install.vspropsin \ + gi-install.vsprops \ + gi-version-paths.vsprops \ + gi-prebuild.vcproj \ girepository.vcprojin \ - gir.vspropsin \ - gir.vsprops \ annotation.vcproj \ cmph-bdz-test.vcproj \ cmph.vcprojin \ - everything.vcproj \ foo.vcproj \ g-ir-compiler.vcprojin \ g-ir-generate.vcproj \ - generate_typelibs.vcproj \ gettype.vcproj \ gimarshallingtests.vcproj \ glib-print.vcproj \ @@ -23,8 +26,8 @@ EXTRA_DIST = \ _giscanner.vcproj \ README.txt -gir.vsprops: $(top_srcdir)/build/win32/vs9/gir.vspropsin gir.vs9.install - $(CPP) -P - <$(top_srcdir)/build/win32/vs9/gir.vspropsin >$@ +gi-install.vsprops: $(top_srcdir)/build/win32/vs9/gi-install.vspropsin gir.vs9.install + $(CPP) -P - <$(top_srcdir)/build/win32/vs9/gi-install.vspropsin >$@ rm gir.vs9.install -CLEANFILES = gir.vsprops +CLEANFILES = gir-install.vsprops -- cgit v1.2.1 From 42fe824111ef711d872204c0f4521c109e3472c5 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Tue, 21 Jan 2014 15:27:40 +0800 Subject: Visual Studio 2008 Build: Further Refinements Fix up more grammar stuff in the README.txt file, and fix the CLEANFILES line. --- build/win32/vs9/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/win32/vs9/Makefile.am') diff --git a/build/win32/vs9/Makefile.am b/build/win32/vs9/Makefile.am index a385ce65..76626819 100644 --- a/build/win32/vs9/Makefile.am +++ b/build/win32/vs9/Makefile.am @@ -30,4 +30,4 @@ gi-install.vsprops: $(top_srcdir)/build/win32/vs9/gi-install.vspropsin gir.vs9.i $(CPP) -P - <$(top_srcdir)/build/win32/vs9/gi-install.vspropsin >$@ rm gir.vs9.install -CLEANFILES = gir-install.vsprops +CLEANFILES = gi-install.vsprops -- cgit v1.2.1