Added post build step to copy SDL and data files into the test projects

This commit is contained in:
Sam Lantinga 2011-01-19 13:07:25 -08:00
parent 10d46c3beb
commit 546a3a8d30
22 changed files with 271 additions and 5 deletions

View file

@ -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" />