This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixed bug #830
Added pre-build step to generate required headers
- Loading branch information
Showing
with
10 additions
and
0 deletions.
-
+4
−0
VisualC/SDL/SDL_VS2008.vcproj
-
+6
−0
VisualC/SDLmain/SDLmain_VS2008.vcproj
|
@@ -29,6 +29,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" |
|
@@ -198,6 +200,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" |
|
|
|
@@ -28,6 +28,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" |
|
@@ -163,6 +165,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" |
|
@@ -298,6 +302,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" |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.