Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Added post build step to copy SDL and data files into the test projects
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 19, 2011
1 parent 04b9499 commit 2947a20
Show file tree
Hide file tree
Showing 23 changed files with 94 additions and 9 deletions.
4 changes: 4 additions & 0 deletions VisualC/tests/checkkeys/checkkeys_VS2008.vcproj
Expand Up @@ -102,6 +102,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -192,6 +194,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/graywin/graywin_VS2008.vcproj
Expand Up @@ -102,6 +102,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -192,6 +194,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/loopwave/loopwave_VS2008.vcproj
Expand Up @@ -102,6 +102,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -192,6 +194,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testalpha/testalpha_VS2008.vcproj
Expand Up @@ -102,6 +102,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -192,6 +194,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testatomic/testatomic_VS2008.vcproj
Expand Up @@ -103,6 +103,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -193,6 +195,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testdraw2/testdraw2_VS2008.vcproj
Expand Up @@ -102,6 +102,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -192,6 +194,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testfile/testfile_VS2008.vcproj
Expand Up @@ -102,6 +102,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -192,6 +194,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testgamma/testgamma_VS2008.vcproj
Expand Up @@ -102,6 +102,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -192,6 +194,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testgesture/testgesture_VS2008.vcproj
Expand Up @@ -103,6 +103,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -193,6 +195,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testgl/testgl_VS2008.vcproj
Expand Up @@ -103,6 +103,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -194,6 +196,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testgl2/testgl2_VS2008.vcproj
Expand Up @@ -103,6 +103,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -194,6 +196,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testjoystick/testjoystick_VS2008.vcproj
Expand Up @@ -102,6 +102,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -192,6 +194,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testoverlay/testoverlay_VS2008.vcproj
Expand Up @@ -102,6 +102,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL and data files"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll&#x0D;&#x0A;copy $(SolutionDir)\..\test\sample.bmp $(ProjectDir)\sample.bmp"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -192,6 +194,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL and data files"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll&#x0D;&#x0A;copy $(SolutionDir)\..\test\sample.bmp $(ProjectDir)\sample.bmp"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testoverlay2/testoverlay2_VS2008.vcproj
Expand Up @@ -102,6 +102,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL and data files"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll&#x0D;&#x0A;copy $(SolutionDir)\..\test\moose.dat $(ProjectDir)\moose.dat"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -192,6 +194,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL and data files"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll&#x0D;&#x0A;copy $(SolutionDir)\..\test\moose.dat $(ProjectDir)\moose.dat"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testpalette/testpalette_VS2008.vcproj
Expand Up @@ -102,6 +102,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL and data files"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll&#x0D;&#x0A;copy $(SolutionDir)\..\test\sail.bmp $(ProjectDir)\sail.bmp"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -192,6 +194,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL and data files"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll&#x0D;&#x0A;copy $(SolutionDir)\..\test\sail.bmp $(ProjectDir)\sail.bmp"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testplatform/testplatform_VS2008.vcproj
Expand Up @@ -104,6 +104,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -196,6 +198,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testpower/testpower_VS2008.vcproj
Expand Up @@ -103,6 +103,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -193,6 +195,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
Expand Down
12 changes: 4 additions & 8 deletions VisualC/tests/testshape/testshape_VS2008.vcproj
Expand Up @@ -102,6 +102,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -192,20 +194,14 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<File
RelativePath="..\..\Sdl\Debug\SDL.lib"
>
</File>
<File
RelativePath="..\..\SDLmain\Debug\SDLmain.lib"
>
</File>
<File
RelativePath="..\..\..\test\testshape.c"
>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testsprite/testsprite_VS2008.vcproj
Expand Up @@ -102,6 +102,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL and data files"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll&#x0D;&#x0A;copy $(SolutionDir)\..\test\icon.bmp $(ProjectDir)\icon.bmp"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -192,6 +194,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL and data files"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll&#x0D;&#x0A;copy $(SolutionDir)\..\test\icon.bmp $(ProjectDir)\icon.bmp"
/>
</Configuration>
</Configurations>
Expand Down
5 changes: 5 additions & 0 deletions VisualC/tests/testsprite2/testsprite2_VS2008.vcproj
Expand Up @@ -4,6 +4,7 @@
Version="9.00"
Name="testsprite2"
ProjectGUID="{40FB7794-D3C3-4CFE-BCF4-A80C96635682}"
RootNamespace="testsprite2"
TargetFrameworkVersion="131072"
>
<Platforms>
Expand Down Expand Up @@ -102,6 +103,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL and data files"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll&#x0D;&#x0A;copy $(SolutionDir)\..\test\icon.bmp $(ProjectDir)\icon.bmp"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -192,6 +195,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL and data files"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll&#x0D;&#x0A;copy $(SolutionDir)\..\test\icon.bmp $(ProjectDir)\icon.bmp"
/>
</Configuration>
</Configurations>
Expand Down
4 changes: 4 additions & 0 deletions VisualC/tests/testvidinfo/testvidinfo_VS2008.vcproj
Expand Up @@ -102,6 +102,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
<Configuration
Expand Down Expand Up @@ -192,6 +194,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Copy SDL"
CommandLine="copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll"
/>
</Configuration>
</Configurations>
Expand Down

0 comments on commit 2947a20

Please sign in to comment.