From 3c4ee831f74e760b65e9239bec3ad5b5ac60e6a6 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Wed, 21 Aug 2013 16:05:47 +0800 Subject: [PATCH] MSVC 2008 Projects: Split the Property Sheets Split the property sheet into four sheets, to make maintainance of the build files easier, and also to prepare for using autotools to fill in the parts for the "installation" of headers. Also put more of the items that are repeated in the projects into the property sheets, also to improve ease of maintenance. Updates to the Visual Studio 2010 projects will come later, as the script to update them to Visual Studio 2012 must also be taken into account during' the process. --- build/win32/vs9/Makefile.am | 7 +- build/win32/vs9/gdbus.vcproj | 8 +- build/win32/vs9/gio-querymodules.vcproj | 16 ++-- build/win32/vs9/gio.vcprojin | 24 +++--- build/win32/vs9/glib-build-defines.vsprops | 65 ++++++++++++++++ build/win32/vs9/glib-compile-resources.vcproj | 16 ++-- build/win32/vs9/glib-compile-schemas.vcproj | 8 +- build/win32/vs9/glib-genmarshal.vcproj | 8 +- .../{glib.vsprops => glib-install.vsprops} | 78 +------------------ build/win32/vs9/glib-version-paths.vsprops | 49 ++++++++++++ build/win32/vs9/glib.vcprojin | 32 ++++---- build/win32/vs9/glibprepbuild.vsprops | 27 +++++++ build/win32/vs9/gmodule.vcproj | 21 +++-- build/win32/vs9/gobject.vcprojin | 16 ++-- build/win32/vs9/gresource.vcproj | 8 +- build/win32/vs9/gsettings.vcproj | 8 +- .../vs9/gspawn-win32-helper-console.vcproj | 16 ++-- build/win32/vs9/gspawn-win32-helper.vcproj | 16 ++-- build/win32/vs9/gthread.vcproj | 16 ++-- build/win32/vs9/install.vcproj | 8 +- build/win32/vs9/testglib.vcproj | 21 +++-- 21 files changed, 266 insertions(+), 202 deletions(-) create mode 100644 build/win32/vs9/glib-build-defines.vsprops rename build/win32/vs9/{glib.vsprops => glib-install.vsprops} (89%) create mode 100644 build/win32/vs9/glib-version-paths.vsprops create mode 100644 build/win32/vs9/glibprepbuild.vsprops diff --git a/build/win32/vs9/Makefile.am b/build/win32/vs9/Makefile.am index 5f5f32c75..cdca8013a 100644 --- a/build/win32/vs9/Makefile.am +++ b/build/win32/vs9/Makefile.am @@ -1,7 +1,6 @@ EXTRA_DIST = \ README.txt \ glib.sln \ - glib.vsprops \ glib.vcproj \ glib.vcprojin \ glib-genmarshal.vcproj \ @@ -20,4 +19,8 @@ EXTRA_DIST = \ gresource.vcproj \ gio-querymodules.vcproj \ gdbus.vcproj \ - install.vcproj + install.vcproj \ + glib-build-defines.vsprops \ + glib-install.vsprops \ + glib-version-paths.vsprops \ + glibprepbuild.vsprops diff --git a/build/win32/vs9/gdbus.vcproj b/build/win32/vs9/gdbus.vcproj index 09f6c514e..bdd8b1bd1 100644 --- a/build/win32/vs9/gdbus.vcproj +++ b/build/win32/vs9/gdbus.vcproj @@ -21,7 +21,7 @@ @@ -50,7 +50,7 @@ @@ -79,7 +79,7 @@ @@ -32,7 +32,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\..\gmodule" - PreprocessorDefinitions="_DEBUG;GIO_COMPILATION" + PreprocessorDefinitions="_DEBUG;$(GioInBuildMacro)" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -50,7 +50,7 @@ @@ -58,7 +58,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\..\gmodule" - PreprocessorDefinitions="_DEBUG;GIO_COMPILATION" + PreprocessorDefinitions="_DEBUG;$(GioInBuildMacro)" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -79,7 +79,7 @@ @@ -28,7 +28,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="../../../gio,../../../gmodule" - PreprocessorDefinitions="_DEBUG;G_LOG_DOMAIN=\"GLib-GIO\";GIO_COMPILATION;DLL_EXPORT" + PreprocessorDefinitions="_DEBUG;$(GioBuildDefines)" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -39,7 +39,7 @@ /> @@ -92,7 +92,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="../../../gio,../../../gmodule" - PreprocessorDefinitions="_DEBUG;G_LOG_DOMAIN=\"GLib-GIO\";GIO_COMPILATION;DLL_EXPORT" + PreprocessorDefinitions="_DEBUG;$(GioBuildDefines)" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -103,7 +103,7 @@ /> + + + + + + + + + + + + + + + diff --git a/build/win32/vs9/glib-compile-resources.vcproj b/build/win32/vs9/glib-compile-resources.vcproj index 26e83b113..e56490ead 100644 --- a/build/win32/vs9/glib-compile-resources.vcproj +++ b/build/win32/vs9/glib-compile-resources.vcproj @@ -21,7 +21,7 @@ @@ -32,7 +32,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\..\gmodule;..\..\..\gio" - PreprocessorDefinitions="_DEBUG;GIO_COMPILATION" + PreprocessorDefinitions="_DEBUG;$(GioInBuildMacro)" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -50,7 +50,7 @@ @@ -58,7 +58,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\..\gmodule;..\..\..\gio" - PreprocessorDefinitions="_DEBUG;GIO_COMPILATION" + PreprocessorDefinitions="_DEBUG;$(GioInBuildMacro)" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -79,7 +79,7 @@ @@ -50,7 +50,7 @@ @@ -79,7 +79,7 @@ @@ -49,7 +49,7 @@ @@ -105,7 +105,7 @@ - - - - - - - - - - - - - - diff --git a/build/win32/vs9/glib-version-paths.vsprops b/build/win32/vs9/glib-version-paths.vsprops new file mode 100644 index 000000000..216177d41 --- /dev/null +++ b/build/win32/vs9/glib-version-paths.vsprops @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/win32/vs9/glib.vcprojin b/build/win32/vs9/glib.vcprojin index a72bd45cc..16db86436 100644 --- a/build/win32/vs9/glib.vcprojin +++ b/build/win32/vs9/glib.vcprojin @@ -21,14 +21,14 @@ + + + \ No newline at end of file diff --git a/build/win32/vs9/gmodule.vcproj b/build/win32/vs9/gmodule.vcproj index b4a133185..db1a1a429 100644 --- a/build/win32/vs9/gmodule.vcproj +++ b/build/win32/vs9/gmodule.vcproj @@ -21,14 +21,14 @@ - - + @@ -50,7 +50,7 @@ @@ -79,7 +79,7 @@ @@ -50,7 +50,7 @@ @@ -79,7 +79,7 @@ - - +