Mercurial > sdl-ios-xcode
changeset 3357:2d19d10e24d5
Fixed bug #830
Added pre-build step to generate required headers
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 08 Oct 2009 09:37:58 +0000 |
parents | 81b3f9d45dea |
children | 1164528004ff |
files | VisualC/SDL/SDL.vcproj VisualC/SDLmain/SDLmain.vcproj |
diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/VisualC/SDL/SDL.vcproj Thu Oct 08 09:32:07 2009 +0000 +++ b/VisualC/SDL/SDL.vcproj Thu Oct 08 09:37:58 2009 +0000 @@ -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
echo Copying SDL_config_win32.h to SDL_config.h...
copy $(SolutionDir)\..\include\SDL_config_win32.h $(SolutionDir)\..\include\SDL_config.h
:SDLCONFIGOKAY

if exist $(SolutionDir)\..\include\SDL_revision.h goto SDLREVISIONOKAY
echo Creating stub SDL_revision.h file...
echo #define SDL_REVISION 0 >$(SolutionDir)\..\include\SDL_revision.h
: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
echo Copying SDL_config_win32.h to SDL_config.h...
copy $(SolutionDir)\..\include\SDL_config_win32.h $(SolutionDir)\..\include\SDL_config.h
:SDLCONFIGOKAY

if exist $(SolutionDir)\..\include\SDL_revision.h goto SDLREVISIONOKAY
echo Creating stub SDL_revision.h file...
echo #define SDL_REVISION 0 >$(SolutionDir)\..\include\SDL_revision.h
:SDLREVISIONOKAY" /> <Tool Name="VCCustomBuildTool"
--- a/VisualC/SDLmain/SDLmain.vcproj Thu Oct 08 09:32:07 2009 +0000 +++ b/VisualC/SDLmain/SDLmain.vcproj Thu Oct 08 09:37:58 2009 +0000 @@ -24,6 +24,8 @@ > <Tool Name="VCPreBuildEventTool" + Description="Making sure basic SDL headers are in place..." + CommandLine="if exist $(SolutionDir)\..\include\SDL_config.h goto SDLCONFIGOKAY
echo Copying SDL_config_win32.h to SDL_config.h...
copy $(SolutionDir)\..\include\SDL_config_win32.h $(SolutionDir)\..\include\SDL_config.h
:SDLCONFIGOKAY

if exist $(SolutionDir)\..\include\SDL_revision.h goto SDLREVISIONOKAY
echo Creating stub SDL_revision.h file...
echo #define SDL_REVISION 0 >$(SolutionDir)\..\include\SDL_revision.h
:SDLREVISIONOKAY" /> <Tool Name="VCCustomBuildTool" @@ -95,6 +97,8 @@ > <Tool Name="VCPreBuildEventTool" + Description="Making sure basic SDL headers are in place..." + CommandLine="if exist $(SolutionDir)\..\include\SDL_config.h goto SDLCONFIGOKAY
echo Copying SDL_config_win32.h to SDL_config.h...
copy $(SolutionDir)\..\include\SDL_config_win32.h $(SolutionDir)\..\include\SDL_config.h
:SDLCONFIGOKAY

if exist $(SolutionDir)\..\include\SDL_revision.h goto SDLREVISIONOKAY
echo Creating stub SDL_revision.h file...
echo #define SDL_REVISION 0 >$(SolutionDir)\..\include\SDL_revision.h
:SDLREVISIONOKAY" /> <Tool Name="VCCustomBuildTool" @@ -166,6 +170,8 @@ > <Tool Name="VCPreBuildEventTool" + Description="Making sure basic SDL headers are in place..." + CommandLine="if exist $(SolutionDir)\..\include\SDL_config.h goto SDLCONFIGOKAY
echo Copying SDL_config_win32.h to SDL_config.h...
copy $(SolutionDir)\..\include\SDL_config_win32.h $(SolutionDir)\..\include\SDL_config.h
:SDLCONFIGOKAY

if exist $(SolutionDir)\..\include\SDL_revision.h goto SDLREVISIONOKAY
echo Creating stub SDL_revision.h file...
echo #define SDL_REVISION 0 >$(SolutionDir)\..\include\SDL_revision.h
:SDLREVISIONOKAY" /> <Tool Name="VCCustomBuildTool"