comparison VisualC/SDLmain/SDLmain_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 e8916fe9cfc8
children 6b6cf2727809
comparison
equal deleted inserted replaced
5118:02b860cbc7ce 5119:16a326715f39
99 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir> 99 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
100 </PropertyGroup> 100 </PropertyGroup>
101 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> 101 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
102 <PreBuildEvent> 102 <PreBuildEvent>
103 <Message>Making sure basic SDL headers are in place...</Message> 103 <Message>Making sure basic SDL headers are in place...</Message>
104 <Command>if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY 104 <Command>echo Copying SDL_config_windows.h to SDL_config.h...
105 echo Copying SDL_config_windows.h to SDL_config.h... 105 copy /Y "$(ProjectDir)\..\..\include\SDL_config_windows.h" "$(ProjectDir)\..\..\include\SDL_config.h"
106 copy "$(ProjectDir)\..\..\include\SDL_config_windows.h" "$(ProjectDir)\..\..\include\SDL_config.h"
107 :SDLCONFIGOKAY
108 106
109 if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY 107 if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
110 echo Creating stub SDL_revision.h file... 108 echo Creating stub SDL_revision.h file...
111 echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h" 109 echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
112 :SDLREVISIONOKAY</Command> 110 :SDLREVISIONOKAY</Command>
152 </Lib> 150 </Lib>
153 </ItemDefinitionGroup> 151 </ItemDefinitionGroup>
154 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|Win32'"> 152 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_NoSTDIO|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</Command> 161 :SDLREVISIONOKAY</Command>
205 </Lib> 201 </Lib>
206 </ItemDefinitionGroup> 202 </ItemDefinitionGroup>
207 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 203 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
208 <PreBuildEvent> 204 <PreBuildEvent>
209 <Message>Making sure basic SDL headers are in place...</Message> 205 <Message>Making sure basic SDL headers are in place...</Message>
210 <Command>if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY 206 <Command>echo Copying SDL_config_windows.h to SDL_config.h...
211 echo Copying SDL_config_windows.h to SDL_config.h... 207 copy /Y "$(ProjectDir)\..\..\include\SDL_config_windows.h" "$(ProjectDir)\..\..\include\SDL_config.h"
212 copy "$(ProjectDir)\..\..\include\SDL_config_windows.h" "$(ProjectDir)\..\..\include\SDL_config.h"
213 :SDLCONFIGOKAY
214 208
215 if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY 209 if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
216 echo Creating stub SDL_revision.h file... 210 echo Creating stub SDL_revision.h file...
217 echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h" 211 echo #define SDL_REVISION 0 &gt;"$(ProjectDir)\..\..\include\SDL_revision.h"
218 :SDLREVISIONOKAY</Command> 212 :SDLREVISIONOKAY</Command>