comparison VisualC/SDL/SDL_VS2008.vcproj @ 3356:81b3f9d45dea

Fixed bug #830 Added pre-build step to generate required headers
author Sam Lantinga <slouken@libsdl.org>
date Thu, 08 Oct 2009 09:32:07 +0000
parents 1a8c9a6752e5
children 6f381d0d6394
comparison
equal deleted inserted replaced
3355:3c9e6f2f3c58 3356:81b3f9d45dea
27 UseOfMFC="0" 27 UseOfMFC="0"
28 ATLMinimizesCRunTimeLibraryUsage="false" 28 ATLMinimizesCRunTimeLibraryUsage="false"
29 > 29 >
30 <Tool 30 <Tool
31 Name="VCPreBuildEventTool" 31 Name="VCPreBuildEventTool"
32 Description="Making sure basic SDL headers are in place..."
33 CommandLine="if exist $(SolutionDir)\..\include\SDL_config.h goto SDLCONFIGOKAY&#x0D;&#x0A;echo Copying SDL_config_win32.h to SDL_config.h...&#x0D;&#x0A;copy $(SolutionDir)\..\include\SDL_config_win32.h $(SolutionDir)\..\include\SDL_config.h&#x0D;&#x0A;:SDLCONFIGOKAY&#x0D;&#x0A;&#x0D;&#x0A;if exist $(SolutionDir)\..\include\SDL_revision.h goto SDLREVISIONOKAY&#x0D;&#x0A;echo Creating stub SDL_revision.h file...&#x0D;&#x0A;echo #define SDL_REVISION 0 &gt;$(SolutionDir)\..\include\SDL_revision.h&#x0D;&#x0A;:SDLREVISIONOKAY"
32 /> 34 />
33 <Tool 35 <Tool
34 Name="VCCustomBuildTool" 36 Name="VCCustomBuildTool"
35 /> 37 />
36 <Tool 38 <Tool
196 UseOfMFC="0" 198 UseOfMFC="0"
197 ATLMinimizesCRunTimeLibraryUsage="false" 199 ATLMinimizesCRunTimeLibraryUsage="false"
198 > 200 >
199 <Tool 201 <Tool
200 Name="VCPreBuildEventTool" 202 Name="VCPreBuildEventTool"
203 Description="Making sure basic SDL headers are in place..."
204 CommandLine="if exist $(SolutionDir)\..\include\SDL_config.h goto SDLCONFIGOKAY&#x0D;&#x0A;echo Copying SDL_config_win32.h to SDL_config.h...&#x0D;&#x0A;copy $(SolutionDir)\..\include\SDL_config_win32.h $(SolutionDir)\..\include\SDL_config.h&#x0D;&#x0A;:SDLCONFIGOKAY&#x0D;&#x0A;&#x0D;&#x0A;if exist $(SolutionDir)\..\include\SDL_revision.h goto SDLREVISIONOKAY&#x0D;&#x0A;echo Creating stub SDL_revision.h file...&#x0D;&#x0A;echo #define SDL_REVISION 0 &gt;$(SolutionDir)\..\include\SDL_revision.h&#x0D;&#x0A;:SDLREVISIONOKAY"
201 /> 205 />
202 <Tool 206 <Tool
203 Name="VCCustomBuildTool" 207 Name="VCCustomBuildTool"
204 /> 208 />
205 <Tool 209 <Tool