Mercurial > sdl-ios-xcode
comparison VisualC/SDLmain/SDLmain_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 |
---|---|
26 UseOfMFC="0" | 26 UseOfMFC="0" |
27 ATLMinimizesCRunTimeLibraryUsage="false" | 27 ATLMinimizesCRunTimeLibraryUsage="false" |
28 > | 28 > |
29 <Tool | 29 <Tool |
30 Name="VCPreBuildEventTool" | 30 Name="VCPreBuildEventTool" |
31 Description="Making sure basic SDL headers are in place..." | |
32 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" | |
31 /> | 33 /> |
32 <Tool | 34 <Tool |
33 Name="VCCustomBuildTool" | 35 Name="VCCustomBuildTool" |
34 /> | 36 /> |
35 <Tool | 37 <Tool |
161 UseOfMFC="0" | 163 UseOfMFC="0" |
162 ATLMinimizesCRunTimeLibraryUsage="false" | 164 ATLMinimizesCRunTimeLibraryUsage="false" |
163 > | 165 > |
164 <Tool | 166 <Tool |
165 Name="VCPreBuildEventTool" | 167 Name="VCPreBuildEventTool" |
168 Description="Making sure basic SDL headers are in place..." | |
169 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" | |
166 /> | 170 /> |
167 <Tool | 171 <Tool |
168 Name="VCCustomBuildTool" | 172 Name="VCCustomBuildTool" |
169 /> | 173 /> |
170 <Tool | 174 <Tool |
296 UseOfMFC="0" | 300 UseOfMFC="0" |
297 ATLMinimizesCRunTimeLibraryUsage="false" | 301 ATLMinimizesCRunTimeLibraryUsage="false" |
298 > | 302 > |
299 <Tool | 303 <Tool |
300 Name="VCPreBuildEventTool" | 304 Name="VCPreBuildEventTool" |
305 Description="Making sure basic SDL headers are in place..." | |
306 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" | |
301 /> | 307 /> |
302 <Tool | 308 <Tool |
303 Name="VCCustomBuildTool" | 309 Name="VCCustomBuildTool" |
304 /> | 310 /> |
305 <Tool | 311 <Tool |