Windows/Build/Littlecms.patch

From KDE Community Wiki
--- jpegicc.vcproj	2005-05-07 17:08:40.000000000 +0200
+++ ..\VC7.new\jpegicc.vcproj	2007-06-21 22:56:32.078125000 +0200
@@ -80,7 +80,7 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				Optimization="0"
-				AdditionalIncludeDirectories="..\..\include"
+				AdditionalIncludeDirectories="..\..\include;f:\kde4\include"
 				PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
 				BasicRuntimeChecks="3"
 				RuntimeLibrary="5"
@@ -98,10 +98,11 @@
 			<Tool
 				Name="VCLinkerTool"
 				AdditionalOptions="/MACHINE:I386"
-				AdditionalDependencies="libjpeg.lib"
+				AdditionalDependencies="jpeg.lib"
 				OutputFile="..\..\bin\jpegicc.exe"
 				LinkIncremental="2"
 				SuppressStartupBanner="TRUE"
+				AdditionalLibraryDirectories="f:\kde4\lib"
 				GenerateDebugInformation="TRUE"
 				ProgramDatabaseFile="./jpegicc.pdb"
 				SubSystem="1"/>

--- tifficc.vcproj	2005-05-19 18:30:00.000000000 +0200
+++ ..\VC7.new\tifficc.vcproj	2007-06-21 22:45:06.609375000 +0200
@@ -21,7 +21,7 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				Optimization="0"
-				AdditionalIncludeDirectories="..\..\include"
+				AdditionalIncludeDirectories="..\..\include;f:\kde4\include"
 				PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
 				BasicRuntimeChecks="3"
 				RuntimeLibrary="1"
@@ -39,10 +39,11 @@
 			<Tool
 				Name="VCLinkerTool"
 				AdditionalOptions="/MACHINE:I386"
-				AdditionalDependencies="libtiff.lib zlib.lib libjpeg.lib"
+				AdditionalDependencies="libtiff.lib zlib.lib jpeg.lib"
 				OutputFile="..\..\bin\tifficc.exe"
 				LinkIncremental="2"
 				SuppressStartupBanner="TRUE"
+				AdditionalLibraryDirectories="f:\kde4\lib"
 				GenerateDebugInformation="TRUE"
 				ProgramDatabaseFile="./tifficc.pdb"
 				SubSystem="1"/>
@@ -99,7 +100,7 @@
 			<Tool
 				Name="VCLinkerTool"
 				AdditionalOptions="/MACHINE:I386"
-				AdditionalDependencies="libtiff.lib zlib.lib libjpeg.lib"
+				AdditionalDependencies="libtiff.lib zlib.lib jpeg.lib"
 				OutputFile="..\..\bin\tifficc.exe"
 				LinkIncremental="1"
 				SuppressStartupBanner="TRUE"


--- tiffdiff.vcproj	2005-11-03 12:25:44.000000000 +0100
+++ ..\VC7.new\tiffdiff.vcproj	2007-06-21 22:32:06.656250000 +0200
@@ -19,7 +19,7 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				Optimization="0"
-				AdditionalIncludeDirectories="..\..\include"
+				AdditionalIncludeDirectories="..\..\include;f:\kde4\include"
 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
 				MinimalRebuild="TRUE"
 				BasicRuntimeChecks="3"
@@ -32,9 +32,10 @@
 				Name="VCCustomBuildTool"/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalDependencies="libtiff.lib zlib.lib libjpeg.lib"
+				AdditionalDependencies="libtiff.lib zlib.lib jpeg.lib"
 				OutputFile="..\..\bin\tiffdiff.exe"
 				LinkIncremental="2"
+				AdditionalLibraryDirectories="f:\kde4\lib"
 				GenerateDebugInformation="TRUE"
 				ProgramDatabaseFile="$(OutDir)/tiffdiff.pdb"
 				SubSystem="1"