diff VisualC/tests/testpower/testpower_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 7dafe21ca5d4
children fc26fb7e20af
line wrap: on
line diff
--- a/VisualC/tests/testpower/testpower_VS2010.vcxproj	Wed Jan 19 13:07:06 2011 -0800
+++ b/VisualC/tests/testpower/testpower_VS2010.vcxproj	Wed Jan 19 13:07:25 2011 -0800
@@ -81,6 +81,12 @@
       <ProgramDatabaseFile>.\Debug/testpower.pdb</ProgramDatabaseFile>
       <SubSystem>Windows</SubSystem>
     </Link>
+    <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>
@@ -118,6 +124,12 @@
       <ProgramDatabaseFile>.\Release/testpower.pdb</ProgramDatabaseFile>
       <SubSystem>Windows</SubSystem>
     </Link>
+    <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" />
@@ -131,4 +143,4 @@
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   <ImportGroup Label="ExtensionTargets">
   </ImportGroup>
-</Project>
+</Project>
\ No newline at end of file