diff VisualC/tests/testplatform/testplatform_VS2010.vcxproj @ 5035:5bb673951db2

Added post build step to copy SDL and data files into the test projects
author Sam Lantinga <slouken@libsdl.org>
date Wed, 19 Jan 2011 13:07:25 -0800
parents f205711f73d5
children fc26fb7e20af
line wrap: on
line diff
--- a/VisualC/tests/testplatform/testplatform_VS2010.vcxproj	Wed Jan 19 13:07:06 2011 -0800
+++ b/VisualC/tests/testplatform/testplatform_VS2010.vcxproj	Wed Jan 19 13:07:25 2011 -0800
@@ -85,6 +85,12 @@
       <SuppressStartupBanner>true</SuppressStartupBanner>
       <OutputFile>.\Debug/testplatform.bsc</OutputFile>
     </Bscmake>
+    <PostBuildEvent>
+      <Command>copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll</Command>
+    </PostBuildEvent>
+    <PostBuildEvent>
+      <Message>Copy SDL</Message>
+    </PostBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     <Midl>
@@ -126,6 +132,12 @@
       <SuppressStartupBanner>true</SuppressStartupBanner>
       <OutputFile>.\Release/testplatform.bsc</OutputFile>
     </Bscmake>
+    <PostBuildEvent>
+      <Command>copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll</Command>
+    </PostBuildEvent>
+    <PostBuildEvent>
+      <Message>Copy SDL</Message>
+    </PostBuildEvent>
   </ItemDefinitionGroup>
   <ItemGroup>
     <Library Include="..\..\Sdl\Debug\SDL.lib" />