diff VisualC/tests/testgamma/testgamma_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/testgamma/testgamma_VS2010.vcxproj	Wed Jan 19 13:07:06 2011 -0800
+++ b/VisualC/tests/testgamma/testgamma_VS2010.vcxproj	Wed Jan 19 13:07:25 2011 -0800
@@ -81,6 +81,12 @@
       <ProgramDatabaseFile>.\Debug/testgamma.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/testgamma.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" />