diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2013-12-26 19:37:08 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2013-12-26 19:37:08 +0800 |
commit | 369a828af6ed09e7f4160cb353b9f9de2dfe495c (patch) | |
tree | 4a4f1281ac879aa1ae50145b4bfbbcc7e74bf318 /build/win32/vs9 | |
parent | 9c3151d8ff165e9ed0812fa0ef2c94d331db4dba (diff) | |
download | gdk-pixbuf-369a828af6ed09e7f4160cb353b9f9de2dfe495c.tar.gz |
Visual Studio Projects: Split the Property Sheets
Split up the Visual Studio 2008/2010 property sheets, so that they can be
more easily maintained; also remove items that aren't really needed for the
build and merge a few items that are frequently repeated.
Also make the copying of config.h from config.h.win32 done with a custom
build rule so that we have a clean source tree when cleaning the build from
the IDE.
Diffstat (limited to 'build/win32/vs9')
-rw-r--r-- | build/win32/vs9/Makefile.am | 22 | ||||
-rw-r--r-- | build/win32/vs9/gdk-pixbuf-build-defines.vsprops | 57 | ||||
-rw-r--r-- | build/win32/vs9/gdk-pixbuf-csource.vcproj | 8 | ||||
-rw-r--r-- | build/win32/vs9/gdk-pixbuf-gen-srcs.vsprops | 16 | ||||
-rw-r--r-- | build/win32/vs9/gdk-pixbuf-gengir.vsprops | 21 | ||||
-rw-r--r-- | build/win32/vs9/gdk-pixbuf-install.vsprops | 32 | ||||
-rw-r--r-- | build/win32/vs9/gdk-pixbuf-pixdata.vcproj | 8 | ||||
-rw-r--r-- | build/win32/vs9/gdk-pixbuf-query-loaders.vcproj | 8 | ||||
-rw-r--r-- | build/win32/vs9/gdk-pixbuf-version-paths.vsprops | 53 | ||||
-rw-r--r-- | build/win32/vs9/gdk-pixbuf.vcprojin | 114 | ||||
-rw-r--r-- | build/win32/vs9/gdk-pixbuf.vsprops | 157 | ||||
-rw-r--r-- | build/win32/vs9/gengir.vcproj | 8 | ||||
-rw-r--r-- | build/win32/vs9/install.vcproj | 8 |
13 files changed, 302 insertions, 210 deletions
diff --git a/build/win32/vs9/Makefile.am b/build/win32/vs9/Makefile.am index f2c69050d..f44dae848 100644 --- a/build/win32/vs9/Makefile.am +++ b/build/win32/vs9/Makefile.am @@ -1,12 +1,16 @@ -EXTRA_DIST = \ - README.txt \ - gdk-pixbuf.sln \ - gdk-pixbuf.vsprops \ - gdk-pixbuf.vcproj \ - gdk-pixbuf.vcprojin \ - gdk-pixbuf-csource.vcproj \ - gdk-pixbuf-query-loaders.vcproj \ - gdk-pixbuf-pixdata.vcproj \ +EXTRA_DIST = \ + README.txt \ + gdk-pixbuf.sln \ + gdk-pixbuf-version-paths.vsprops \ + gdk-pixbuf-build-defines.vsprops \ + gdk-pixbuf-gen-srcs.vsprops \ + gdk-pixbuf-gengir.vsprops \ + gdk-pixbuf-install.vsprops \ + gdk-pixbuf.vcproj \ + gdk-pixbuf.vcprojin \ + gdk-pixbuf-csource.vcproj \ + gdk-pixbuf-query-loaders.vcproj \ + gdk-pixbuf-pixdata.vcproj \ install.vcproj \ gengir.vcproj diff --git a/build/win32/vs9/gdk-pixbuf-build-defines.vsprops b/build/win32/vs9/gdk-pixbuf-build-defines.vsprops new file mode 100644 index 000000000..534dbf260 --- /dev/null +++ b/build/win32/vs9/gdk-pixbuf-build-defines.vsprops @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioPropertySheet + ProjectType="Visual C++" + Version="8.00" + Name="gdk-pixbufbuilddefinesprops" + OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin" + IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj\$(ProjectName)\" + InheritedPropertySheets=".\gdk-pixbuf-version-paths.vsprops" + > + <Tool + Name="VCCLCompilerTool" + AdditionalIncludeDirectories="..\..\..;..\..\..\gdk-pixbuf;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\atk-1.0;$(GlibEtcInstallRoot)\include\pango-1.0" + PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES" + ForcedIncludeFiles="msvc_recommended_pragmas.h" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="gio-2.0.lib gmodule-2.0.lib gobject-2.0.lib glib-2.0.lib gthread-2.0.lib intl.lib" + AdditionalLibraryDirectories="$(GlibEtcInstallRoot)\lib" + /> + <UserMacro + Name="GdkPixbufBinaryVersion" + Value="2.10.0" + /> + <UserMacro + Name="GDIP_MACROS" + Value="INCLUDE_gdiplus" + /> + <UserMacro + Name="NOGDIP_MACROS" + Value="JAS_WIN_MSVC_BUILD;INCLUDE_bmp;INCLUDE_gif;INCLUDE_ico;INCLUDE_jasper;INCLUDE_jpeg;INCLUDE_tiff;" + /> + <UserMacro + Name="MODULAR_MACROS" + Value="INCLUDE_ani;INCLUDE_pcx;INCLUDE_tga;INCLUDE_xbm;INCLUDE_png;INCLUDE_qtif;INCLUDE_pnm;INCLUDE_icns;INCLUDE_ras;INCLUDE_wbmp;INCLUDE_xpm" + /> + <UserMacro + Name="GdkPixbufDummyPrefix" + Value="/dummy" + /> + <UserMacro + Name="GdkPixbufPrefixDefine" + Value="GDK_PIXBUF_PREFIX="\"$(GdkPixbufDummyPrefix)\""" + /> + <UserMacro + Name="GdkPixbufLibdirDefine" + Value="PIXBUF_LIBDIR="\"$(GdkPixbufDummyPrefix)/lib/gdk-pixbuf-$(ApiVersion)/$(GdkPixbufBinaryVersion)/loaders\""" + /> + <UserMacro + Name="GdkPixbufBinVerDefine" + Value="GDK_PIXBUF_BINARY_VERSION="\"$(GdkPixbufBinaryVersion)\""" + /> + <UserMacro + Name="GdkPixbufDefines" + Value="HAVE_CONFIG_H;GDK_PIXBUF_COMPILATION;GDK_PIXBUF_ENABLE_BACKEND;DLL_EXPORT;$(GdkPixbufBinVerDefine);$(GdkPixbufPrefixDefine);$(MODULAR_MACROS)" + /> +</VisualStudioPropertySheet> diff --git a/build/win32/vs9/gdk-pixbuf-csource.vcproj b/build/win32/vs9/gdk-pixbuf-csource.vcproj index a11fb69b5..ad6a33c64 100644 --- a/build/win32/vs9/gdk-pixbuf-csource.vcproj +++ b/build/win32/vs9/gdk-pixbuf-csource.vcproj @@ -22,7 +22,7 @@ <Configuration Name="Debug|Win32" ConfigurationType="1" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-build-defines.vsprops" CharacterSet="2" > <Tool @@ -54,7 +54,7 @@ </Configuration> <Configuration Name="Release|Win32" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-build-defines.vsprops" ConfigurationType="1" CharacterSet="2" > @@ -86,7 +86,7 @@ <Configuration Name="Debug|x64" ConfigurationType="1" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-build-defines.vsprops" CharacterSet="2" > <Tool @@ -119,7 +119,7 @@ <Configuration Name="Release|x64" ConfigurationType="1" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-build-defines.vsprops" CharacterSet="2" WholeProgramOptimization="1" > diff --git a/build/win32/vs9/gdk-pixbuf-gen-srcs.vsprops b/build/win32/vs9/gdk-pixbuf-gen-srcs.vsprops new file mode 100644 index 000000000..610feb2ff --- /dev/null +++ b/build/win32/vs9/gdk-pixbuf-gen-srcs.vsprops @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioPropertySheet + ProjectType="Visual C++" + Version="8.00" + Name="gdk-pixbufgensrcsprops" + InheritedPropertySheets=".\gdk-pixbuf-build-defines.vsprops" + > + <UserMacro + Name="GenConfigH" + Value="copy ..\..\..\config.h.win32 ..\..\..\config.h" + /> + <UserMacro + Name="GenerateGdkPixbufDef" + Value="echo EXPORTS > $(DefDir)\gdk-pixbuf.def && cl /EP -DG_OS_WIN32 -DINCLUDE_VARIABLES -DALL_FILES -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= ..\..\..\gdk-pixbuf\gdk-pixbuf.symbols >>$(DefDir)\gdk-pixbuf.def" + /> +</VisualStudioPropertySheet> diff --git a/build/win32/vs9/gdk-pixbuf-gengir.vsprops b/build/win32/vs9/gdk-pixbuf-gengir.vsprops new file mode 100644 index 000000000..294e25306 --- /dev/null +++ b/build/win32/vs9/gdk-pixbuf-gengir.vsprops @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioPropertySheet + ProjectType="Visual C++" + Version="8.00" + Name="gdk-pixbufgengirprops" + InheritedPropertySheets=".\gdk-pixbuf-build-defines.vsprops" + > + <UserMacro + Name="DoGenGir" + Value=" +set VSVER=$(VSVer)
 +set CONF=$(ConfigurationName)
 +set PLAT=$(PlatformName)
 +set BASEDIR=$(GlibEtcInstallRoot)
 +cd ..
 + +call gengir_gdkpixbuf.bat
 +cd vs$(VSVer)
 + " + /> +</VisualStudioPropertySheet> diff --git a/build/win32/vs9/gdk-pixbuf-install.vsprops b/build/win32/vs9/gdk-pixbuf-install.vsprops new file mode 100644 index 000000000..58a7652dc --- /dev/null +++ b/build/win32/vs9/gdk-pixbuf-install.vsprops @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioPropertySheet + ProjectType="Visual C++" + Version="8.00" + Name="gdk-pixbufinstallprops" + InheritedPropertySheets=".\gdk-pixbuf-build-defines.vsprops" + > + <UserMacro + Name="GdkPixbufDoInstall" + Value=" +mkdir $(CopyDir)\bin
 +copy $(ConfigurationName)\$(PlatformName)\bin\*.dll $(CopyDir)\bin
 +copy $(ConfigurationName)\$(PlatformName)\bin\*.exe $(CopyDir)\bin
 + +mkdir $(CopyDir)\lib
 +copy $(ConfigurationName)\$(PlatformName)\bin\*-$(ApiVersion).lib $(CopyDir)\lib
 + +mkdir $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 +copy ..\..\..\gdk-pixbuf\gdk-pixbuf-animation.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 +copy ..\..\..\gdk-pixbuf\gdk-pixbuf-core.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 +copy ..\..\..\gdk-pixbuf\gdk-pixbuf-enum-types.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 +copy ..\..\..\gdk-pixbuf\gdk-pixbuf-features.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 +copy ..\..\..\gdk-pixbuf\gdk-pixbuf-io.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 +copy ..\..\..\gdk-pixbuf\gdk-pixbuf-loader.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 +copy ..\..\..\gdk-pixbuf\gdk-pixbuf-marshal.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 +copy ..\..\..\gdk-pixbuf\gdk-pixbuf-simple-anim.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 +copy ..\..\..\gdk-pixbuf\gdk-pixbuf-transform.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 +copy ..\..\..\gdk-pixbuf\gdk-pixbuf.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 +copy ..\..\..\gdk-pixbuf\gdk-pixdata.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 +" + /> +</VisualStudioPropertySheet> diff --git a/build/win32/vs9/gdk-pixbuf-pixdata.vcproj b/build/win32/vs9/gdk-pixbuf-pixdata.vcproj index 192480d1e..6c07e981d 100644 --- a/build/win32/vs9/gdk-pixbuf-pixdata.vcproj +++ b/build/win32/vs9/gdk-pixbuf-pixdata.vcproj @@ -21,7 +21,7 @@ <Configurations> <Configuration Name="Debug|Win32" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-build-defines.vsprops" ConfigurationType="1" CharacterSet="2" > @@ -50,7 +50,7 @@ <Configuration Name="Debug|x64" ConfigurationType="1" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-build-defines.vsprops" CharacterSet="2" > <Tool @@ -82,7 +82,7 @@ </Configuration> <Configuration Name="Release|Win32" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-build-defines.vsprops" ConfigurationType="1" CharacterSet="2" WholeProgramOptimization="1" @@ -114,7 +114,7 @@ <Configuration Name="Release|x64" ConfigurationType="1" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-build-defines.vsprops" CharacterSet="2" WholeProgramOptimization="1" > diff --git a/build/win32/vs9/gdk-pixbuf-query-loaders.vcproj b/build/win32/vs9/gdk-pixbuf-query-loaders.vcproj index 65447013a..e244d8074 100644 --- a/build/win32/vs9/gdk-pixbuf-query-loaders.vcproj +++ b/build/win32/vs9/gdk-pixbuf-query-loaders.vcproj @@ -22,7 +22,7 @@ <Configuration Name="Debug|Win32" ConfigurationType="1" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-build-defines.vsprops" CharacterSet="2" > <Tool @@ -52,7 +52,7 @@ <Configuration Name="Debug|x64" ConfigurationType="1" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-build-defines.vsprops" CharacterSet="2" > <Tool @@ -85,7 +85,7 @@ <Configuration Name="Release|Win32" ConfigurationType="1" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-build-defines.vsprops" CharacterSet="2" WholeProgramOptimization="1" > @@ -118,7 +118,7 @@ <Configuration Name="Release|x64" ConfigurationType="1" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-build-defines.vsprops" CharacterSet="2" WholeProgramOptimization="1" > diff --git a/build/win32/vs9/gdk-pixbuf-version-paths.vsprops b/build/win32/vs9/gdk-pixbuf-version-paths.vsprops new file mode 100644 index 000000000..1f167bd88 --- /dev/null +++ b/build/win32/vs9/gdk-pixbuf-version-paths.vsprops @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioPropertySheet + ProjectType="Visual C++" + Version="8.00" + Name="gdk-pixbufversionpathsprops" + > + <UserMacro + Name="VSVer" + Value="9" + /> + <UserMacro + Name="GlibEtcInstallRoot" + Value="..\..\..\..\vs$(VSVer)\$(PlatformName)" + /> + <UserMacro + Name="DefDir" + Value="$(SolutionDir)\$(ConfigurationName)\$(PlatformName)\obj\$(ProjectName)" + /> + <UserMacro + Name="CopyDir" + Value="$(GlibEtcInstallRoot)" + /> + <UserMacro + Name="ApiVersion" + Value="2.0" + /> + <UserMacro + Name="GdkPixbufLibtoolCompatibleDllPrefix" + Value="lib" + /> + <UserMacro + Name="GdkPixbufLibtoolCompatibleDllSuffix" + Value="-$(ApiVersion)-0" + /> + <UserMacro + Name="GdkPixbufSeparateVSDllPrefix" + Value="" + /> + <UserMacro + Name="GdkPixbufSeparateVSDllSuffix" + Value="-2-vs$(VSVer)" + /> + <!-- Change these two to GdkPixbufLibtoolCompatibleDllPrefix and + GdkPixbufLibtoolCompatibleDllSuffix if that is what you want --> + <UserMacro + Name="GdkPixbufDllPrefix" + Value="$(GdkPixbufSeparateVSDllPrefix)" + /> + <UserMacro + Name="GdkPixbufDllSuffix" + Value="$(GdkPixbufSeparateVSDllSuffix)" + /> +</VisualStudioPropertySheet> diff --git a/build/win32/vs9/gdk-pixbuf.vcprojin b/build/win32/vs9/gdk-pixbuf.vcprojin index 4034aa369..be3098f90 100644 --- a/build/win32/vs9/gdk-pixbuf.vcprojin +++ b/build/win32/vs9/gdk-pixbuf.vcprojin @@ -22,7 +22,7 @@ <Configuration Name="Debug|Win32" ConfigurationType="2" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-gen-srcs.vsprops" CharacterSet="2" > <Tool @@ -33,7 +33,7 @@ AdditionalOptions="" Optimization="0" AdditionalIncludeDirectories="" - PreprocessorDefinitions="_DEBUG;$(GdkPixbufDefines);$(GDIP_MACROS);DLL_EXPORT" + PreprocessorDefinitions="_DEBUG;$(GdkPixbufDefines);$(GDIP_MACROS)" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -59,7 +59,7 @@ <Configuration Name="Release|Win32" ConfigurationType="2" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-gen-srcs.vsprops" CharacterSet="2" > <Tool @@ -70,7 +70,7 @@ AdditionalOptions="" Optimization="3" AdditionalIncludeDirectories="" - PreprocessorDefinitions="$(GdkPixbufDefines);$(GDIP_MACROS);DLL_EXPORT" + PreprocessorDefinitions="$(GdkPixbufDefines);$(GDIP_MACROS)" RuntimeLibrary="2" UsePrecompiledHeader="0" WarningLevel="3" @@ -94,7 +94,7 @@ </Configuration> <Configuration Name="Debug|x64" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-gen-srcs.vsprops" ConfigurationType="2" CharacterSet="2" > @@ -105,7 +105,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" - PreprocessorDefinitions="_DEBUG;$(GdkPixbufDefines);$(GDIP_MACROS);DLL_EXPORT" + PreprocessorDefinitions="_DEBUG;$(GdkPixbufDefines);$(GDIP_MACROS)" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -127,7 +127,7 @@ </Configuration> <Configuration Name="Release|x64" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-gen-srcs.vsprops" ConfigurationType="2" CharacterSet="2" > @@ -136,7 +136,7 @@ /> <Tool Name="VCCLCompilerTool" - PreprocessorDefinitions="$(GdkPixbufDefines);$(GDIP_MACROS);DLL_EXPORT" + PreprocessorDefinitions="$(GdkPixbufDefines);$(GDIP_MACROS)" RuntimeLibrary="2" UsePrecompiledHeader="0" WarningLevel="3" @@ -160,7 +160,7 @@ Name="Debug_NoGDIP|Win32" OutputDirectory="Debug\$(PlatformName)\bin" ConfigurationType="2" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-gen-srcs.vsprops" CharacterSet="2" > <Tool @@ -171,7 +171,7 @@ Optimization="0" AdditionalOptions="" AdditionalIncludeDirectories="" - PreprocessorDefinitions="$(GdkPixbufDefines);$(NOGDIP_MACROS);DLL_EXPORT" + PreprocessorDefinitions="$(GdkPixbufDefines);$(NOGDIP_MACROS)" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -200,7 +200,7 @@ Name="Release_NoGDIP|Win32" OutputDirectory="Release\$(PlatformName)\bin" ConfigurationType="2" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-gen-srcs.vsprops" CharacterSet="2" > <Tool @@ -211,7 +211,7 @@ AdditionalOptions="" Optimization="3" AdditionalIncludeDirectories="" - PreprocessorDefinitions="$(GdkPixbufDefines);$(NOGDIP_MACROS);DLL_EXPORT" + PreprocessorDefinitions="$(GdkPixbufDefines);$(NOGDIP_MACROS)" RuntimeLibrary="2" UsePrecompiledHeader="0" WarningLevel="3" @@ -237,7 +237,7 @@ <Configuration Name="Debug_NoGDIP|x64" OutputDirectory="Debug\$(PlatformName)\bin" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-gen-srcs.vsprops" ConfigurationType="2" CharacterSet="2" > @@ -248,7 +248,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" - PreprocessorDefinitions="_DEBUG;$(GdkPixbufDefines);$(NOGDIP_MACROS);DLL_EXPORT" + PreprocessorDefinitions="_DEBUG;$(GdkPixbufDefines);$(NOGDIP_MACROS)" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -272,7 +272,7 @@ <Configuration Name="Release_NoGDIP|x64" OutputDirectory="Release\$(PlatformName)\bin" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-gen-srcs.vsprops" ConfigurationType="2" CharacterSet="2" > @@ -281,7 +281,7 @@ /> <Tool Name="VCCLCompilerTool" - PreprocessorDefinitions="$(GdkPixbufDefines);$(NOGDIP_MACROS);DLL_EXPORT" + PreprocessorDefinitions="$(GdkPixbufDefines);$(NOGDIP_MACROS)" RuntimeLibrary="2" UsePrecompiledHeader="0" WarningLevel="3" @@ -433,12 +433,78 @@ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" > + <File RelativePath="..\..\..\config.h.win32"> + <FileConfiguration Name="Debug|Win32"> + <Tool + Name="VCCustomBuildTool" + Description="Copying config.h from config.h.win32..." + CommandLine="$(GenConfigH)" + Outputs="..\..\..\config.h" + /> + </FileConfiguration> + <FileConfiguration Name="Debug_NoGDIP|Win32"> + <Tool + Name="VCCustomBuildTool" + Description="Copying config.h from config.h.win32..." + CommandLine="$(GenConfigH)" + Outputs="..\..\..\config.h" + /> + </FileConfiguration> + <FileConfiguration Name="Release|Win32"> + <Tool + Name="VCCustomBuildTool" + Description="Copying config.h from config.h.win32..." + CommandLine="$(GenConfigH)" + Outputs="..\..\..\config.h" + /> + </FileConfiguration> + <FileConfiguration Name="Release_NoGDIP|Win32"> + <Tool + Name="VCCustomBuildTool" + Description="Copying config.h from config.h.win32..." + CommandLine="$(GenConfigH)" + Outputs="..\..\..\config.h" + /> + </FileConfiguration> + <FileConfiguration Name="Debug|x64"> + <Tool + Name="VCCustomBuildTool" + Description="Copying config.h from config.h.win32..." + CommandLine="$(GenConfigH)" + Outputs="..\..\..\config.h" + /> + </FileConfiguration> + <FileConfiguration Name="Debug_NoGDIP|x64"> + <Tool + Name="VCCustomBuildTool" + Description="Copying config.h from config.h.win32..." + CommandLine="$(GenConfigH)" + Outputs="..\..\..\config.h" + /> + </FileConfiguration> + <FileConfiguration Name="Release|x64"> + <Tool + Name="VCCustomBuildTool" + Description="Copying config.h from config.h.win32..." + CommandLine="$(GenConfigH)" + Outputs="..\..\..\config.h" + /> + </FileConfiguration> + <FileConfiguration Name="Release_NoGDIP|x64"> + <Tool + Name="VCCustomBuildTool" + Description="Copying config.h from config.h.win32..." + CommandLine="$(GenConfigH)" + Outputs="..\..\..\config.h" + /> + </FileConfiguration> + </File> <File RelativePath="..\..\..\gdk-pixbuf\gdk-pixbuf.symbols"> <FileConfiguration Name="Debug|Win32"> <Tool Name="VCCustomBuildTool" Description="Generating gdk-pixbuf.def..." - CommandLine="$(GdkPixbufGenerateGdkPixbufDef)" + CommandLine="$(GenerateGdkPixbufDef)" Outputs="$(IntDir)\gdk-pixbuf.def" /> </FileConfiguration> @@ -446,7 +512,7 @@ <Tool Name="VCCustomBuildTool" Description="Generating gdk-pixbuf.def..." - CommandLine="$(GdkPixbufGenerateGdkPixbufDef)" + CommandLine="$(GenerateGdkPixbufDef)" Outputs="$(IntDir)\gdk-pixbuf.def" /> </FileConfiguration> @@ -454,7 +520,7 @@ <Tool Name="VCCustomBuildTool" Description="Generating gdk-pixbuf.def..." - CommandLine="$(GdkPixbufGenerateGdkPixbufDef)" + CommandLine="$(GenerateGdkPixbufDef)" Outputs="$(IntDir)\gdk-pixbuf.def" /> </FileConfiguration> @@ -462,7 +528,7 @@ <Tool Name="VCCustomBuildTool" Description="Generating gdk-pixbuf.def..." - CommandLine="$(GdkPixbufGenerateGdkPixbufDef)" + CommandLine="$(GenerateGdkPixbufDef)" Outputs="$(IntDir)\gdk-pixbuf.def" /> </FileConfiguration> @@ -470,7 +536,7 @@ <Tool Name="VCCustomBuildTool" Description="Generating gdk-pixbuf.def..." - CommandLine="$(GdkPixbufGenerateGdkPixbufDef)" + CommandLine="$(GenerateGdkPixbufDef)" Outputs="$(IntDir)\gdk-pixbuf.def" /> </FileConfiguration> @@ -478,7 +544,7 @@ <Tool Name="VCCustomBuildTool" Description="Generating gdk-pixbuf.def..." - CommandLine="$(GdkPixbufGenerateGdkPixbufDef)" + CommandLine="$(GenerateGdkPixbufDef)" Outputs="$(IntDir)\gdk-pixbuf.def" /> </FileConfiguration> @@ -486,7 +552,7 @@ <Tool Name="VCCustomBuildTool" Description="Generating gdk-pixbuf.def..." - CommandLine="$(GdkPixbufGenerateGdkPixbufDef)" + CommandLine="$(GenerateGdkPixbufDef)" Outputs="$(IntDir)\gdk-pixbuf.def" /> </FileConfiguration> @@ -494,7 +560,7 @@ <Tool Name="VCCustomBuildTool" Description="Generating gdk-pixbuf.def..." - CommandLine="$(GdkPixbufGenerateGdkPixbufDef)" + CommandLine="$(GenerateGdkPixbufDef)" Outputs="$(IntDir)\gdk-pixbuf.def" /> </FileConfiguration> diff --git a/build/win32/vs9/gdk-pixbuf.vsprops b/build/win32/vs9/gdk-pixbuf.vsprops deleted file mode 100644 index ffed53508..000000000 --- a/build/win32/vs9/gdk-pixbuf.vsprops +++ /dev/null @@ -1,157 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioPropertySheet - ProjectType="Visual C++" - Version="8.00" - Name="gdk-pixbufprops" - OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin" - IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj\$(ProjectName)\" - > - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="..\..\..;..\..\..\gdk-pixbuf;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\atk-1.0;$(GlibEtcInstallRoot)\include\pango-1.0" - PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES" - ForcedIncludeFiles="msvc_recommended_pragmas.h" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="gio-2.0.lib gmodule-2.0.lib gobject-2.0.lib glib-2.0.lib gthread-2.0.lib intl.lib" - AdditionalLibraryDirectories="$(GlibEtcInstallRoot)\lib" - /> - <Tool - Name="VCPreBuildEventTool" - CommandLine=" -if exist ..\..\..\config.h goto DONE_CONFIG_H
 -copy ..\..\..\config.h.win32 ..\..\..\config.h
 -:DONE_CONFIG_H
 -" - /> - <UserMacro - Name="VSVer" - Value="9" - /> - <UserMacro - Name="GlibEtcInstallRoot" - Value="$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(PlatformName)" - /> - <UserMacro - Name="CopyDir" - Value="$(GlibEtcInstallRoot)" - /> - <UserMacro - Name="ApiVersion" - Value="2.0" - /> - <UserMacro - Name="GdkPixbufBinaryVersion" - Value="2.10.0" - /> - <UserMacro - Name="GDIP_MACROS" - Value="INCLUDE_gdiplus" - /> - <UserMacro - Name="NOGDIP_MACROS" - Value="JAS_WIN_MSVC_BUILD;INCLUDE_bmp;INCLUDE_gif;INCLUDE_ico;INCLUDE_jasper;INCLUDE_jpeg;INCLUDE_tiff;" - /> - <UserMacro - Name="MODULAR_MACROS" - Value="INCLUDE_ani;INCLUDE_pcx;INCLUDE_tga;INCLUDE_xbm;INCLUDE_png;INCLUDE_qtif;INCLUDE_pnm;INCLUDE_icns;INCLUDE_ras;INCLUDE_wbmp;INCLUDE_xpm" - /> - <UserMacro - Name="GdkPixbufDummyPrefix" - Value="/dummy" - /> - <UserMacro - Name="GdkPixbufPrefixDefine" - Value="GDK_PIXBUF_PREFIX="\"$(GdkPixbufDummyPrefix)\""" - /> - <UserMacro - Name="GdkPixbufLibdirDefine" - Value="PIXBUF_LIBDIR="\"$(GdkPixbufDummyPrefix)/lib/gdk-pixbuf-$(ApiVersion)/$(GdkPixbufBinaryVersion)/loaders\""" - /> - <UserMacro - Name="GPBLibdirDefine" - Value="GDK_PIXBUF_LIBDIR="\"$(GdkPixbufDummyPrefix)/lib\""" - /> - <UserMacro - Name="GdkPixbufBinVerDefine" - Value="GDK_PIXBUF_BINARY_VERSION="\"$(GdkPixbufBinaryVersion)\""" - /> - <UserMacro - Name="GdkPixbufLocaleDir" - Value="GDK_PIXBUF_LOCALEDIR="\"./locale/\""" - /> - <UserMacro - Name="GdkPixbufDefines" - Value="HAVE_CONFIG_H;GDK_PIXBUF_COMPILATION;GDK_PIXBUF_ENABLE_BACKEND;$(GdkPixbufPrefixDefine);$(GdkPixbufBinVerDefine);$(MODULAR_MACROS);$(GPBLibdirDefine);$(GdkPixbufLocaleDir)" - /> - <UserMacro - Name="GdkPixbufDoInstall" - Value=" -mkdir $(CopyDir)\bin
 -copy $(ConfigurationName)\$(PlatformName)\bin\*.dll $(CopyDir)\bin
 -copy $(ConfigurationName)\$(PlatformName)\bin\*.exe $(CopyDir)\bin
 - -mkdir $(CopyDir)\lib
 -copy $(ConfigurationName)\$(PlatformName)\bin\*-$(ApiVersion).lib $(CopyDir)\lib
 - -mkdir $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 -copy ..\..\..\gdk-pixbuf\gdk-pixbuf-animation.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 -copy ..\..\..\gdk-pixbuf\gdk-pixbuf-core.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 -copy ..\..\..\gdk-pixbuf\gdk-pixbuf-enum-types.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 -copy ..\..\..\gdk-pixbuf\gdk-pixbuf-features.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 -copy ..\..\..\gdk-pixbuf\gdk-pixbuf-io.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 -copy ..\..\..\gdk-pixbuf\gdk-pixbuf-loader.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 -copy ..\..\..\gdk-pixbuf\gdk-pixbuf-marshal.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 -copy ..\..\..\gdk-pixbuf\gdk-pixbuf-simple-anim.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 -copy ..\..\..\gdk-pixbuf\gdk-pixbuf-transform.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 -copy ..\..\..\gdk-pixbuf\gdk-pixbuf.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 -copy ..\..\..\gdk-pixbuf\gdk-pixdata.h $(CopyDir)\include\gdk-pixbuf-$(ApiVersion)\gdk-pixbuf
 - -copy $(ConfigurationName)\$(PlatformName)\bin\*-$(ApiVersion).lib $(CopyDir)\lib
 -" - /> - <UserMacro - Name="DoGenGir" - Value=" -set VSVER=$(VSVer)
 -set CONF=$(ConfigurationName)
 -set PLAT=$(PlatformName)
 -set BASEDIR=$(GlibEtcInstallRoot)
 -cd ..
 - -call gengir_gdkpixbuf.bat
 -cd vs$(VSVer)
 - " - /> - <UserMacro - Name="GdkPixbufGenerateGdkPixbufDef" - Value="echo EXPORTS > $(IntDir)\gdk-pixbuf.def && cl /EP -DG_OS_WIN32 -DINCLUDE_VARIABLES -DALL_FILES -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= ..\..\..\gdk-pixbuf\gdk-pixbuf.symbols >>$(IntDir)gdk-pixbuf.def" - /> - <UserMacro - Name="GdkPixbufLibtoolCompatibleDllPrefix" - Value="lib" - /> - <UserMacro - Name="GdkPixbufLibtoolCompatibleDllSuffix" - Value="-$(ApiVersion)-0" - /> - <UserMacro - Name="GdkPixbufSeparateVSDllPrefix" - Value="" - /> - <UserMacro - Name="GdkPixbufSeparateVSDllSuffix" - Value="-2-vs$(VSVer)" - /> - <!-- Change these two to GdkPixbufLibtoolCompatibleDllPrefix and - GdkPixbufLibtoolCompatibleDllSuffix if that is what you want --> - <UserMacro - Name="GdkPixbufDllPrefix" - Value="$(GdkPixbufSeparateVSDllPrefix)" - /> - <UserMacro - Name="GdkPixbufDllSuffix" - Value="$(GdkPixbufSeparateVSDllSuffix)" - /> -</VisualStudioPropertySheet> diff --git a/build/win32/vs9/gengir.vcproj b/build/win32/vs9/gengir.vcproj index ac6c0368a..854da3130 100644 --- a/build/win32/vs9/gengir.vcproj +++ b/build/win32/vs9/gengir.vcproj @@ -21,7 +21,7 @@ <Configurations> <Configuration Name="Debug|Win32" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-gengir.vsprops" OutputDirectory="$(GlibEtcInstallRoot)" ConfigurationType="10" CharacterSet="2" @@ -34,7 +34,7 @@ </Configuration> <Configuration Name="Debug|x64" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-gengir.vsprops" OutputDirectory="$(GlibEtcInstallRoot)" ConfigurationType="10" CharacterSet="2" @@ -47,7 +47,7 @@ </Configuration> <Configuration Name="Release|Win32" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-gengir.vsprops" OutputDirectory="$(GlibEtcInstallRoot)" ConfigurationType="10" CharacterSet="2" @@ -61,7 +61,7 @@ </Configuration> <Configuration Name="Release|x64" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-gengir.vsprops" OutputDirectory="$(GlibEtcInstallRoot)" ConfigurationType="10" CharacterSet="2" diff --git a/build/win32/vs9/install.vcproj b/build/win32/vs9/install.vcproj index ef7de3edc..61c59378b 100644 --- a/build/win32/vs9/install.vcproj +++ b/build/win32/vs9/install.vcproj @@ -23,7 +23,7 @@ Name="Debug|Win32" OutputDirectory="$(GlibEtcInstallRoot)" ConfigurationType="10" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-install.vsprops" CharacterSet="2" DeleteExtensionsOnClean="" > @@ -36,7 +36,7 @@ Name="Release|Win32" OutputDirectory="$(GlibEtcInstallRoot)" ConfigurationType="10" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-install.vsprops" CharacterSet="2" DeleteExtensionsOnClean="" WholeProgramOptimization="1" @@ -48,7 +48,7 @@ </Configuration> <Configuration Name="Debug|x64" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-install.vsprops" OutputDirectory="$(GlibEtcInstallRoot)" ConfigurationType="10" CharacterSet="2" @@ -61,7 +61,7 @@ </Configuration> <Configuration Name="Release|x64" - InheritedPropertySheets=".\gdk-pixbuf.vsprops" + InheritedPropertySheets=".\gdk-pixbuf-install.vsprops" OutputDirectory="$(GlibEtcInstallRoot)" ConfigurationType="10" CharacterSet="2" |