From a24c80dbc8632ce7c38f32f991c9998381c5de54 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Tue, 21 Jan 2014 15:26:50 +0800 Subject: Rework The Visual Studio 2010 Build Process This patch makes the build of G-I on Visual Studio 2010 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. -Directing people to use the set of NMake Makefiles to build the introspection files for GLib, and also the .gir's that are shipped with G-I, which was added in a previous commit, as it would make it clearer what are needed to build the introspection files. --- build/win32/vs10/gi-version-paths.props | 58 +++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 build/win32/vs10/gi-version-paths.props (limited to 'build/win32/vs10/gi-version-paths.props') diff --git a/build/win32/vs10/gi-version-paths.props b/build/win32/vs10/gi-version-paths.props new file mode 100644 index 00000000..88e43487 --- /dev/null +++ b/build/win32/vs10/gi-version-paths.props @@ -0,0 +1,58 @@ + + + + 10 + $(SolutionDir)\..\..\..\..\vs$(VSVER)\$(Platform) + $(SolutionDir)\..\..\.. + $(GlibEtcInstallRoot) + 1.0 + $(SolutionDir)$(Configuration)\$(Platform)\obj\$(ProjectName) + lib + -$(ApiVersion)-0 + + -1-vs$(VSVER) + $(LibGISeparateVSDllPrefix) + $(LibGISeparateVSDllSuffix) + + + <_PropertySheetDisplayName>giversionpathsprops + + + + $(VSVER) + + + $(GlibEtcInstallRoot) + + + $(BASE_GI_DIR) + + + $(CopyDir) + + + $(ApiVersion) + + + $(DefDir) + + + $(LibGILibtoolCompatibleDllPrefix) + + + $(LibGILibtoolCompatibleDllSuffix) + + + $(LibGISeparateVSDllPrefix) + + + $(LibGISeparateVSDllSuffix) + + + $(LibGIDllPrefix) + + + $(LibGIDllSuffix) + + + -- cgit v1.2.1