Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed bug #830

Added pre-build step to generate required headers
  • Loading branch information
slouken committed Oct 8, 2009
1 parent 7d69db9 commit 1bafb45ba481a4e44fbd693840207c754702be92

File 1 of 2 in 1bafb45

@@ -25,6 +25,8 @@
>
<Tool
Name="VCPreBuildEventTool"
Description="Making sure basic SDL headers are in place..."
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"
/>
<Tool
Name="VCCustomBuildTool"
@@ -122,6 +124,8 @@
>
<Tool
Name="VCPreBuildEventTool"
Description="Making sure basic SDL headers are in place..."
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"
/>
<Tool
Name="VCCustomBuildTool"

0 comments on commit 1bafb45

Please sign in to comment.