diff VisualC/tests/testdraw2/testdraw2_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/testdraw2/testdraw2_VS2010.vcxproj	Wed Jan 19 13:07:06 2011 -0800
+++ b/VisualC/tests/testdraw2/testdraw2_VS2010.vcxproj	Wed Jan 19 13:07:25 2011 -0800
@@ -81,6 +81,12 @@
       <ProgramDatabaseFile>.\Release/testdraw2.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)'=='Debug|Win32'">
     <Midl>
@@ -118,6 +124,12 @@
       <ProgramDatabaseFile>.\Debug/testdraw2.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>
     <ClCompile Include="..\..\..\test\common.c" />