From 546a3a8d3099b096cb7fb544660299052eedb46c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 19 Jan 2011 13:07:25 -0800 Subject: [PATCH] Added post build step to copy SDL and data files into the test projects --- VisualC/tests/checkkeys/checkkeys_VS2010.vcxproj | 12 ++++++++++++ VisualC/tests/graywin/graywin_VS2010.vcxproj | 12 ++++++++++++ VisualC/tests/loopwave/loopwave_VS2010.vcxproj | 12 ++++++++++++ VisualC/tests/testalpha/testalpha_VS2008.vcproj | 8 ++++---- VisualC/tests/testalpha/testalpha_VS2010.vcxproj | 14 ++++++++++++++ VisualC/tests/testdraw2/testdraw2_VS2010.vcxproj | 12 ++++++++++++ VisualC/tests/testfile/testfile_VS2010.vcxproj | 12 ++++++++++++ VisualC/tests/testgamma/testgamma_VS2010.vcxproj | 12 ++++++++++++ VisualC/tests/testgl/testgl_VS2010.vcxproj | 12 ++++++++++++ VisualC/tests/testgl2/testgl2_VS2010.vcxproj | 12 ++++++++++++ .../tests/testjoystick/testjoystick_VS2010.vcxproj | 12 ++++++++++++ .../tests/testoverlay/testoverlay_VS2010.vcxproj | 14 ++++++++++++++ .../tests/testoverlay2/testoverlay2_VS2010.vcxproj | 14 ++++++++++++++ .../tests/testpalette/testpalette_VS2010.vcxproj | 14 ++++++++++++++ .../tests/testplatform/testplatform_VS2010.vcxproj | 12 ++++++++++++ VisualC/tests/testpower/testpower_VS2010.vcxproj | 14 +++++++++++++- VisualC/tests/testshape/testshape_VS2010.vcxproj | 12 ++++++++++++ VisualC/tests/testsprite/testsprite_VS2010.vcxproj | 14 ++++++++++++++ .../tests/testsprite2/testsprite2_VS2010.vcxproj | 14 ++++++++++++++ .../tests/testvidinfo/testvidinfo_VS2010.vcxproj | 12 ++++++++++++ VisualC/tests/testwin/testwin_VS2010.vcxproj | 14 ++++++++++++++ VisualC/tests/testwm/testwm_VS2010.vcxproj | 12 ++++++++++++ 22 files changed, 271 insertions(+), 5 deletions(-) diff --git a/VisualC/tests/checkkeys/checkkeys_VS2010.vcxproj b/VisualC/tests/checkkeys/checkkeys_VS2010.vcxproj index f642a9c1b..4afeff3c2 100644 --- a/VisualC/tests/checkkeys/checkkeys_VS2010.vcxproj +++ b/VisualC/tests/checkkeys/checkkeys_VS2010.vcxproj @@ -81,6 +81,12 @@ .\Debug/checkkeys.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + @@ -118,6 +124,12 @@ .\Release/checkkeys.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + diff --git a/VisualC/tests/graywin/graywin_VS2010.vcxproj b/VisualC/tests/graywin/graywin_VS2010.vcxproj index 714172000..b5bcee537 100644 --- a/VisualC/tests/graywin/graywin_VS2010.vcxproj +++ b/VisualC/tests/graywin/graywin_VS2010.vcxproj @@ -81,6 +81,12 @@ .\Debug/graywin.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + @@ -118,6 +124,12 @@ .\Release/graywin.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + diff --git a/VisualC/tests/loopwave/loopwave_VS2010.vcxproj b/VisualC/tests/loopwave/loopwave_VS2010.vcxproj index d0b690dfd..680f39b98 100644 --- a/VisualC/tests/loopwave/loopwave_VS2010.vcxproj +++ b/VisualC/tests/loopwave/loopwave_VS2010.vcxproj @@ -81,6 +81,12 @@ .\Release/loopwave.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + @@ -118,6 +124,12 @@ .\Debug/loopwave.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + diff --git a/VisualC/tests/testalpha/testalpha_VS2008.vcproj b/VisualC/tests/testalpha/testalpha_VS2008.vcproj index 51ccfeee3..b8313cf69 100644 --- a/VisualC/tests/testalpha/testalpha_VS2008.vcproj +++ b/VisualC/tests/testalpha/testalpha_VS2008.vcproj @@ -102,8 +102,8 @@ /> diff --git a/VisualC/tests/testalpha/testalpha_VS2010.vcxproj b/VisualC/tests/testalpha/testalpha_VS2010.vcxproj index 75d4fa211..c8b8f699b 100644 --- a/VisualC/tests/testalpha/testalpha_VS2010.vcxproj +++ b/VisualC/tests/testalpha/testalpha_VS2010.vcxproj @@ -81,6 +81,13 @@ .\Debug/testalpha.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll +copy $(SolutionDir)\..\test\icon.bmp $(ProjectDir)\icon.bmp + + + Copy SDL and data files + @@ -118,6 +125,13 @@ .\Release/testalpha.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll +copy $(SolutionDir)\..\test\icon.bmp $(ProjectDir)\icon.bmp + + + Copy SDL and data files + diff --git a/VisualC/tests/testdraw2/testdraw2_VS2010.vcxproj b/VisualC/tests/testdraw2/testdraw2_VS2010.vcxproj index ee6295cab..50d9b02c9 100644 --- a/VisualC/tests/testdraw2/testdraw2_VS2010.vcxproj +++ b/VisualC/tests/testdraw2/testdraw2_VS2010.vcxproj @@ -81,6 +81,12 @@ .\Release/testdraw2.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + @@ -118,6 +124,12 @@ .\Debug/testdraw2.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + diff --git a/VisualC/tests/testfile/testfile_VS2010.vcxproj b/VisualC/tests/testfile/testfile_VS2010.vcxproj index a050f424a..2b6224365 100644 --- a/VisualC/tests/testfile/testfile_VS2010.vcxproj +++ b/VisualC/tests/testfile/testfile_VS2010.vcxproj @@ -81,6 +81,12 @@ .\Debug/testfile.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + @@ -118,6 +124,12 @@ .\Release/testfile.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + diff --git a/VisualC/tests/testgamma/testgamma_VS2010.vcxproj b/VisualC/tests/testgamma/testgamma_VS2010.vcxproj index 96dc232fb..bf88dbf87 100644 --- a/VisualC/tests/testgamma/testgamma_VS2010.vcxproj +++ b/VisualC/tests/testgamma/testgamma_VS2010.vcxproj @@ -81,6 +81,12 @@ .\Debug/testgamma.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + @@ -118,6 +124,12 @@ .\Release/testgamma.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + diff --git a/VisualC/tests/testgl/testgl_VS2010.vcxproj b/VisualC/tests/testgl/testgl_VS2010.vcxproj index f01351332..f0494abc6 100644 --- a/VisualC/tests/testgl/testgl_VS2010.vcxproj +++ b/VisualC/tests/testgl/testgl_VS2010.vcxproj @@ -82,6 +82,12 @@ .\Debug/testgl.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + @@ -120,6 +126,12 @@ .\Release/testgl.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + diff --git a/VisualC/tests/testgl2/testgl2_VS2010.vcxproj b/VisualC/tests/testgl2/testgl2_VS2010.vcxproj index 65854998a..9e535fe3f 100644 --- a/VisualC/tests/testgl2/testgl2_VS2010.vcxproj +++ b/VisualC/tests/testgl2/testgl2_VS2010.vcxproj @@ -82,6 +82,12 @@ .\Debug/testgl2.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + @@ -120,6 +126,12 @@ .\Release/testgl2.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + diff --git a/VisualC/tests/testjoystick/testjoystick_VS2010.vcxproj b/VisualC/tests/testjoystick/testjoystick_VS2010.vcxproj index ef2f0a9fd..28a5ac29f 100644 --- a/VisualC/tests/testjoystick/testjoystick_VS2010.vcxproj +++ b/VisualC/tests/testjoystick/testjoystick_VS2010.vcxproj @@ -81,6 +81,12 @@ .\Release/testjoystick.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + @@ -118,6 +124,12 @@ .\Debug/testjoystick.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + diff --git a/VisualC/tests/testoverlay/testoverlay_VS2010.vcxproj b/VisualC/tests/testoverlay/testoverlay_VS2010.vcxproj index ee79d6ef8..8c4ec0e32 100644 --- a/VisualC/tests/testoverlay/testoverlay_VS2010.vcxproj +++ b/VisualC/tests/testoverlay/testoverlay_VS2010.vcxproj @@ -81,6 +81,13 @@ .\Release/testoverlay.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll +copy $(SolutionDir)\..\test\sample.bmp $(ProjectDir)\sample.bmp + + + Copy SDL and data files + @@ -118,6 +125,13 @@ .\Debug/testoverlay.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll +copy $(SolutionDir)\..\test\sample.bmp $(ProjectDir)\sample.bmp + + + Copy SDL and data files + diff --git a/VisualC/tests/testoverlay2/testoverlay2_VS2010.vcxproj b/VisualC/tests/testoverlay2/testoverlay2_VS2010.vcxproj index 3d49d8d0c..a3241050f 100644 --- a/VisualC/tests/testoverlay2/testoverlay2_VS2010.vcxproj +++ b/VisualC/tests/testoverlay2/testoverlay2_VS2010.vcxproj @@ -81,6 +81,13 @@ .\Release/testoverlay2.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll +copy $(SolutionDir)\..\test\moose.dat $(ProjectDir)\moose.dat + + + Copy SDL and data files + @@ -118,6 +125,13 @@ .\Debug/testoverlay2.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll +copy $(SolutionDir)\..\test\moose.dat $(ProjectDir)\moose.dat + + + Copy SDL and data files + diff --git a/VisualC/tests/testpalette/testpalette_VS2010.vcxproj b/VisualC/tests/testpalette/testpalette_VS2010.vcxproj index bae8764ff..e6a7c63d5 100644 --- a/VisualC/tests/testpalette/testpalette_VS2010.vcxproj +++ b/VisualC/tests/testpalette/testpalette_VS2010.vcxproj @@ -81,6 +81,13 @@ .\Release/testpalette.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll +copy $(SolutionDir)\..\test\sail.bmp $(ProjectDir)\sail.bmp + + + Copy SDL and data files + @@ -118,6 +125,13 @@ .\Debug/testpalette.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll +copy $(SolutionDir)\..\test\sail.bmp $(ProjectDir)\sail.bmp + + + Copy SDL and data files + diff --git a/VisualC/tests/testplatform/testplatform_VS2010.vcxproj b/VisualC/tests/testplatform/testplatform_VS2010.vcxproj index 079c89243..7c7568897 100644 --- a/VisualC/tests/testplatform/testplatform_VS2010.vcxproj +++ b/VisualC/tests/testplatform/testplatform_VS2010.vcxproj @@ -85,6 +85,12 @@ true .\Debug/testplatform.bsc + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + @@ -126,6 +132,12 @@ true .\Release/testplatform.bsc + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + diff --git a/VisualC/tests/testpower/testpower_VS2010.vcxproj b/VisualC/tests/testpower/testpower_VS2010.vcxproj index c7ff99cf7..85e48dc45 100644 --- a/VisualC/tests/testpower/testpower_VS2010.vcxproj +++ b/VisualC/tests/testpower/testpower_VS2010.vcxproj @@ -81,6 +81,12 @@ .\Debug/testpower.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + @@ -118,6 +124,12 @@ .\Release/testpower.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + @@ -131,4 +143,4 @@ - + \ No newline at end of file diff --git a/VisualC/tests/testshape/testshape_VS2010.vcxproj b/VisualC/tests/testshape/testshape_VS2010.vcxproj index 8a19ca8a6..8b440857b 100644 --- a/VisualC/tests/testshape/testshape_VS2010.vcxproj +++ b/VisualC/tests/testshape/testshape_VS2010.vcxproj @@ -81,6 +81,12 @@ .\Release/testshape.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + @@ -118,6 +124,12 @@ .\Debug/testshape.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + diff --git a/VisualC/tests/testsprite/testsprite_VS2010.vcxproj b/VisualC/tests/testsprite/testsprite_VS2010.vcxproj index 1243edd2f..2b3d48664 100644 --- a/VisualC/tests/testsprite/testsprite_VS2010.vcxproj +++ b/VisualC/tests/testsprite/testsprite_VS2010.vcxproj @@ -81,6 +81,13 @@ .\Release/testsprite.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll +copy $(SolutionDir)\..\test\icon.bmp $(ProjectDir)\icon.bmp + + + Copy SDL and data files + @@ -118,6 +125,13 @@ .\Debug/testsprite.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll +copy $(SolutionDir)\..\test\icon.bmp $(ProjectDir)\icon.bmp + + + Copy SDL and data files + diff --git a/VisualC/tests/testsprite2/testsprite2_VS2010.vcxproj b/VisualC/tests/testsprite2/testsprite2_VS2010.vcxproj index 5ae77ef2f..7f05ee208 100644 --- a/VisualC/tests/testsprite2/testsprite2_VS2010.vcxproj +++ b/VisualC/tests/testsprite2/testsprite2_VS2010.vcxproj @@ -81,6 +81,13 @@ .\Release/testsprite2.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll +copy $(SolutionDir)\..\test\icon.bmp $(ProjectDir)\icon.bmp + + + Copy SDL and data files + @@ -118,6 +125,13 @@ .\Debug/testsprite2.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll +copy $(SolutionDir)\..\test\icon.bmp $(ProjectDir)\icon.bmp + + + Copy SDL and data files + diff --git a/VisualC/tests/testvidinfo/testvidinfo_VS2010.vcxproj b/VisualC/tests/testvidinfo/testvidinfo_VS2010.vcxproj index e5aae9ea8..8fb7c535f 100644 --- a/VisualC/tests/testvidinfo/testvidinfo_VS2010.vcxproj +++ b/VisualC/tests/testvidinfo/testvidinfo_VS2010.vcxproj @@ -81,6 +81,12 @@ .\Release/testvidinfo.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + @@ -118,6 +124,12 @@ .\Debug/testvidinfo.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + diff --git a/VisualC/tests/testwin/testwin_VS2010.vcxproj b/VisualC/tests/testwin/testwin_VS2010.vcxproj index 2ab15bda1..dead40897 100644 --- a/VisualC/tests/testwin/testwin_VS2010.vcxproj +++ b/VisualC/tests/testwin/testwin_VS2010.vcxproj @@ -81,6 +81,13 @@ .\Debug/testwin.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll +copy $(SolutionDir)\..\test\sample.bmp $(ProjectDir)\sample.bmp + + + Copy SDL and data files + @@ -118,6 +125,13 @@ .\Release/testwin.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll +copy $(SolutionDir)\..\test\sample.bmp $(ProjectDir)\sample.bmp + + + Copy SDL and data files + diff --git a/VisualC/tests/testwm/testwm_VS2010.vcxproj b/VisualC/tests/testwm/testwm_VS2010.vcxproj index 0394dd807..0be4e2f98 100644 --- a/VisualC/tests/testwm/testwm_VS2010.vcxproj +++ b/VisualC/tests/testwm/testwm_VS2010.vcxproj @@ -81,6 +81,12 @@ .\Debug/testwm.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL + @@ -118,6 +124,12 @@ .\Release/testwm.pdb Windows + + copy $(SolutionDir)\SDL\$(ConfigurationName)\SDL.dll $(TargetDir)\SDL.dll + + + Copy SDL +