diff VisualC/tests/testgl2/testgl2_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/testgl2/testgl2_VS2010.vcxproj	Wed Jan 19 13:07:06 2011 -0800
+++ b/VisualC/tests/testgl2/testgl2_VS2010.vcxproj	Wed Jan 19 13:07:25 2011 -0800
@@ -82,6 +82,12 @@
       <ProgramDatabaseFile>.\Debug/testgl2.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>
@@ -120,6 +126,12 @@
       <ProgramDatabaseFile>.\Release/testgl2.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" />