comparison VisualC/SDL/SDL_VS2010.vcxproj @ 5119:16a326715f39

Always copy the SDL_config_windows.h to SDL_config.h for VisualC 2005, 2008 and 2010 projects.
author krogoway
date Thu, 27 Jan 2011 20:30:39 -0600
parents 327f181542f1
children 6b6cf2727809
comparison
equal deleted inserted replaced
5118:02b860cbc7ce 5119:16a326715f39
72 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir> 72 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
73 </PropertyGroup> 73 </PropertyGroup>
74 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 74 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
75 <PreBuildEvent> 75 <PreBuildEvent>
76 <Message>Making sure basic SDL headers are in place...</Message> 76 <Message>Making sure basic SDL headers are in place...</Message>
77 <Command>if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY 77 <Command>echo Copying SDL_config_windows.h to SDL_config.h...
78 echo Copying SDL_config_windows.h to SDL_config.h... 78 copy /Y "$(ProjectDir)\..\..\include\SDL_config_windows.h" "$(ProjectDir)\..\..\include\SDL_config.h"
79 copy "$(ProjectDir)\..\..\include\SDL_config_windows.h" "$(ProjectDir)\..\..\include\SDL_config.h"
80 :SDLCONFIGOKAY
81 79
82 if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY 80 if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
83 echo Creating stub SDL_revision.h file... 81 echo Creating stub SDL_revision.h file...
84 echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h" 82 echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
85 :SDLREVISIONOKAY 83 :SDLREVISIONOKAY
152 </Link> 150 </Link>
153 </ItemDefinitionGroup> 151 </ItemDefinitionGroup>
154 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> 152 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
155 <PreBuildEvent> 153 <PreBuildEvent>
156 <Message>Making sure basic SDL headers are in place...</Message> 154 <Message>Making sure basic SDL headers are in place...</Message>
157 <Command>if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY 155 <Command>echo Copying SDL_config_windows.h to SDL_config.h...
158 echo Copying SDL_config_windows.h to SDL_config.h... 156 copy /Y "$(ProjectDir)\..\..\include\SDL_config_windows.h" "$(ProjectDir)\..\..\include\SDL_config.h"
159 copy "$(ProjectDir)\..\..\include\SDL_config_windows.h" "$(ProjectDir)\..\..\include\SDL_config.h"
160 :SDLCONFIGOKAY
161 157
162 if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY 158 if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
163 echo Creating stub SDL_revision.h file... 159 echo Creating stub SDL_revision.h file...
164 echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h" 160 echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
165 :SDLREVISIONOKAY 161 :SDLREVISIONOKAY