Include an updated Version.rc in Visual Studio builds
authorSam Lantinga <slouken@libsdl.org>
Wed, 09 Mar 2011 18:26:35 -0800
changeset 5462 6d43a04618fc
parent 5461 94f742ce580a
child 5463 9cdb6f1d791a
Include an updated Version.rc in Visual Studio builds
VisualC/SDL/SDL_VS2008.vcproj
VisualC/SDL/SDL_VS2010.vcxproj
VisualC/SDL/Version.rc
--- a/VisualC/SDL/SDL_VS2008.vcproj	Wed Mar 09 17:38:12 2011 -0800
+++ b/VisualC/SDL/SDL_VS2008.vcproj	Wed Mar 09 18:26:35 2011 -0800
@@ -617,6 +617,10 @@
 			>
 		</File>
 		<File
+			RelativePath=".\resource.h"
+			>
+		</File>
+		<File
 			RelativePath="..\..\src\libm\s_atan.c"
 			>
 		</File>
@@ -1293,6 +1297,10 @@
 			>
 		</File>
 		<File
+			RelativePath=".\Version.rc"
+			>
+		</File>
+		<File
 			RelativePath="..\..\src\video\windows\wmmsg.h"
 			>
 		</File>
--- a/VisualC/SDL/SDL_VS2010.vcxproj	Wed Mar 09 17:38:12 2011 -0800
+++ b/VisualC/SDL/SDL_VS2010.vcxproj	Wed Mar 09 18:26:35 2011 -0800
@@ -329,6 +329,7 @@
     <ClInclude Include="..\..\src\video\windows\SDL_windowswindow.h" />
     <ClInclude Include="..\..\src\events\SDL_windowevents_c.h" />
     <ClInclude Include="..\..\src\video\windows\wmmsg.h" />
+    <ClInclude Include="resource.h" />
   </ItemGroup>
   <ItemGroup>
     <ClCompile Include="..\..\src\core\windows\SDL_windows.c" />
@@ -443,6 +444,9 @@
     <ClCompile Include="..\..\src\video\windows\SDL_windowswindow.c" />
     <ClCompile Include="..\..\src\events\SDL_windowevents.c" />
   </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="Version.rc" />
+  </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   <ImportGroup Label="ExtensionTargets">
   </ImportGroup>
--- a/VisualC/SDL/Version.rc	Wed Mar 09 17:38:12 2011 -0800
+++ b/VisualC/SDL/Version.rc	Wed Mar 09 18:26:35 2011 -0800
@@ -48,7 +48,7 @@
             VALUE "FileDescription", "SDL\0"
             VALUE "FileVersion", "1, 3, 0, 0\0"
             VALUE "InternalName", "SDL\0"
-            VALUE "LegalCopyright", "Copyright  2009 Sam Lantinga\0"
+            VALUE "LegalCopyright", "Copyright  2011 Sam Lantinga\0"
             VALUE "OriginalFilename", "SDL.dll\0"
             VALUE "ProductName", "Simple DirectMedia Layer\0"
             VALUE "ProductVersion", "1, 3, 0, 0\0"