Copy icon.bmp for the testcursor build
authorSam Lantinga <slouken@libsdl.org>
Fri, 11 Mar 2011 14:30:00 -0800
changeset 5476 fb1faf6c690f
parent 5475 9c07ec632b24
child 5477 50cd1fb880e5
Copy icon.bmp for the testcursor build
VisualC/tests/testcursor/testcursor_VS2008.vcproj
VisualC/tests/testcursor/testcursor_VS2010.vcxproj
--- a/VisualC/tests/testcursor/testcursor_VS2008.vcproj	Fri Mar 11 14:24:35 2011 -0800
+++ b/VisualC/tests/testcursor/testcursor_VS2008.vcproj	Fri Mar 11 14:30:00 2011 -0800
@@ -105,8 +105,8 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				Description="Copy SDL"
-				CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
+				Description="Copy SDL and data files"
+				CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll&#x0D;&#x0A;copy $(SolutionDir)\..\test\icon.bmp $(ProjectDir)\icon.bmp&#x0D;&#x0A;"
 			/>
 		</Configuration>
 		<Configuration
@@ -199,8 +199,8 @@
 			/>
 			<Tool
 				Name="VCPostBuildEventTool"
-				Description="Copy SDL"
-				CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
+				Description="Copy SDL and data files"
+				CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll&#x0D;&#x0A;copy $(SolutionDir)\..\test\icon.bmp $(ProjectDir)\icon.bmp&#x0D;&#x0A;"
 			/>
 		</Configuration>
 	</Configurations>
--- a/VisualC/tests/testcursor/testcursor_VS2010.vcxproj	Fri Mar 11 14:24:35 2011 -0800
+++ b/VisualC/tests/testcursor/testcursor_VS2010.vcxproj	Fri Mar 11 14:30:00 2011 -0800
@@ -86,10 +86,11 @@
       <OutputFile>.\Debug/testcursor.bsc</OutputFile>
     </Bscmake>
     <PostBuildEvent>
-      <Command>copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll</Command>
+      <Command>copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll
+copy $(SolutionDir)\..\test\icon.bmp $(ProjectDir)\icon.bmp</Command>
     </PostBuildEvent>
     <PostBuildEvent>
-      <Message>Copy SDL</Message>
+      <Message>Copy SDL and data files</Message>
     </PostBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -133,10 +134,11 @@
       <OutputFile>.\Release/testcursor.bsc</OutputFile>
     </Bscmake>
     <PostBuildEvent>
-      <Command>copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll</Command>
+      <Command>copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll
+copy $(SolutionDir)\..\test\icon.bmp $(ProjectDir)\icon.bmp</Command>
     </PostBuildEvent>
     <PostBuildEvent>
-      <Message>Copy SDL</Message>
+      <Message>Copy SDL and data files</Message>
     </PostBuildEvent>
   </ItemDefinitionGroup>
   <ItemGroup>