VisualC/SDLmain/SDLmain_VS2008.vcproj
author Sam Lantinga
Wed, 16 Feb 2011 02:37:09 -0800
changeset 5310 a9945ce48999
parent 5119 edd0f0617be4
child 5338 dcd605b45ee5
permissions -rw-r--r--
Made it possible to build SDL from a fresh checkout without any additional steps.

The trick is that if you're using configure and you don't want to have SDL_config.h and SDL_revision.h to show up as modified, you need to configure and build from a separate directory.

You also need to include SDL_revision.h directly if you want to use the SDL_REVISION constant, as a side effect of these changes.
     1 <?xml version="1.0" encoding="Windows-1252"?>
     2 <VisualStudioProject
     3 	ProjectType="Visual C++"
     4 	Version="9.00"
     5 	Name="SDLmain"
     6 	ProjectGUID="{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}"
     7 	RootNamespace="SDLmain"
     8 	TargetFrameworkVersion="131072"
     9 	>
    10 	<Platforms>
    11 		<Platform
    12 			Name="Win32"
    13 		/>
    14 		<Platform
    15 			Name="x64"
    16 		/>
    17 	</Platforms>
    18 	<ToolFiles>
    19 	</ToolFiles>
    20 	<Configurations>
    21 		<Configuration
    22 			Name="Release|Win32"
    23 			OutputDirectory=".\Release"
    24 			IntermediateDirectory=".\Release"
    25 			ConfigurationType="4"
    26 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
    27 			UseOfMFC="0"
    28 			ATLMinimizesCRunTimeLibraryUsage="false"
    29 			>
    30 			<Tool
    31 				Name="VCPreBuildEventTool"
    32 				CommandLine=""
    33 			/>
    34 			<Tool
    35 				Name="VCCustomBuildTool"
    36 			/>
    37 			<Tool
    38 				Name="VCXMLDataGeneratorTool"
    39 			/>
    40 			<Tool
    41 				Name="VCWebServiceProxyGeneratorTool"
    42 			/>
    43 			<Tool
    44 				Name="VCMIDLTool"
    45 			/>
    46 			<Tool
    47 				Name="VCCLCompilerTool"
    48 				InlineFunctionExpansion="1"
    49 				AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
    50 				PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
    51 				StringPooling="true"
    52 				RuntimeLibrary="2"
    53 				EnableFunctionLevelLinking="true"
    54 				WarningLevel="3"
    55 				SuppressStartupBanner="true"
    56 				CompileAs="0"
    57 			/>
    58 			<Tool
    59 				Name="VCManagedResourceCompilerTool"
    60 			/>
    61 			<Tool
    62 				Name="VCResourceCompilerTool"
    63 			/>
    64 			<Tool
    65 				Name="VCPreLinkEventTool"
    66 			/>
    67 			<Tool
    68 				Name="VCLibrarianTool"
    69 				OutputFile="$(IntDir)\SDLmain.lib"
    70 				SuppressStartupBanner="true"
    71 			/>
    72 			<Tool
    73 				Name="VCALinkTool"
    74 			/>
    75 			<Tool
    76 				Name="VCXDCMakeTool"
    77 			/>
    78 			<Tool
    79 				Name="VCBscMakeTool"
    80 			/>
    81 			<Tool
    82 				Name="VCFxCopTool"
    83 			/>
    84 			<Tool
    85 				Name="VCPostBuildEventTool"
    86 			/>
    87 		</Configuration>
    88 		<Configuration
    89 			Name="Release|x64"
    90 			OutputDirectory="$(PlatformName)\$(ConfigurationName)"
    91 			IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
    92 			ConfigurationType="4"
    93 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
    94 			UseOfMFC="0"
    95 			ATLMinimizesCRunTimeLibraryUsage="false"
    96 			>
    97 			<Tool
    98 				Name="VCPreBuildEventTool"
    99 			/>
   100 			<Tool
   101 				Name="VCCustomBuildTool"
   102 			/>
   103 			<Tool
   104 				Name="VCXMLDataGeneratorTool"
   105 			/>
   106 			<Tool
   107 				Name="VCWebServiceProxyGeneratorTool"
   108 			/>
   109 			<Tool
   110 				Name="VCMIDLTool"
   111 				TargetEnvironment="3"
   112 			/>
   113 			<Tool
   114 				Name="VCCLCompilerTool"
   115 				InlineFunctionExpansion="1"
   116 				AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
   117 				PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
   118 				StringPooling="true"
   119 				RuntimeLibrary="2"
   120 				EnableFunctionLevelLinking="true"
   121 				WarningLevel="3"
   122 				SuppressStartupBanner="true"
   123 				CompileAs="0"
   124 			/>
   125 			<Tool
   126 				Name="VCManagedResourceCompilerTool"
   127 			/>
   128 			<Tool
   129 				Name="VCResourceCompilerTool"
   130 			/>
   131 			<Tool
   132 				Name="VCPreLinkEventTool"
   133 			/>
   134 			<Tool
   135 				Name="VCLibrarianTool"
   136 				OutputFile="$(IntDir)\SDLmain.lib"
   137 				SuppressStartupBanner="true"
   138 			/>
   139 			<Tool
   140 				Name="VCALinkTool"
   141 			/>
   142 			<Tool
   143 				Name="VCXDCMakeTool"
   144 			/>
   145 			<Tool
   146 				Name="VCBscMakeTool"
   147 			/>
   148 			<Tool
   149 				Name="VCFxCopTool"
   150 			/>
   151 			<Tool
   152 				Name="VCPostBuildEventTool"
   153 			/>
   154 		</Configuration>
   155 		<Configuration
   156 			Name="Release_NoSTDIO|Win32"
   157 			OutputDirectory=".\Release_NOSTDIO"
   158 			IntermediateDirectory=".\Release_NOSTDIO"
   159 			ConfigurationType="4"
   160 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
   161 			UseOfMFC="0"
   162 			ATLMinimizesCRunTimeLibraryUsage="false"
   163 			>
   164 			<Tool
   165 				Name="VCPreBuildEventTool"
   166 				CommandLine=""
   167 			/>
   168 			<Tool
   169 				Name="VCCustomBuildTool"
   170 			/>
   171 			<Tool
   172 				Name="VCXMLDataGeneratorTool"
   173 			/>
   174 			<Tool
   175 				Name="VCWebServiceProxyGeneratorTool"
   176 			/>
   177 			<Tool
   178 				Name="VCMIDLTool"
   179 			/>
   180 			<Tool
   181 				Name="VCCLCompilerTool"
   182 				InlineFunctionExpansion="1"
   183 				AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
   184 				PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32,NDEBUG,_WINDOWS,NO_STDIO_REDIRECT"
   185 				StringPooling="true"
   186 				RuntimeLibrary="2"
   187 				EnableFunctionLevelLinking="true"
   188 				WarningLevel="3"
   189 				SuppressStartupBanner="true"
   190 				CompileAs="0"
   191 			/>
   192 			<Tool
   193 				Name="VCManagedResourceCompilerTool"
   194 			/>
   195 			<Tool
   196 				Name="VCResourceCompilerTool"
   197 			/>
   198 			<Tool
   199 				Name="VCPreLinkEventTool"
   200 			/>
   201 			<Tool
   202 				Name="VCLibrarianTool"
   203 				OutputFile="$(IntDir)\SDLmain.lib"
   204 				SuppressStartupBanner="true"
   205 			/>
   206 			<Tool
   207 				Name="VCALinkTool"
   208 			/>
   209 			<Tool
   210 				Name="VCXDCMakeTool"
   211 			/>
   212 			<Tool
   213 				Name="VCBscMakeTool"
   214 			/>
   215 			<Tool
   216 				Name="VCFxCopTool"
   217 			/>
   218 			<Tool
   219 				Name="VCPostBuildEventTool"
   220 			/>
   221 		</Configuration>
   222 		<Configuration
   223 			Name="Release_NoSTDIO|x64"
   224 			OutputDirectory="$(PlatformName)\$(ConfigurationName)"
   225 			IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
   226 			ConfigurationType="4"
   227 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
   228 			UseOfMFC="0"
   229 			ATLMinimizesCRunTimeLibraryUsage="false"
   230 			>
   231 			<Tool
   232 				Name="VCPreBuildEventTool"
   233 			/>
   234 			<Tool
   235 				Name="VCCustomBuildTool"
   236 			/>
   237 			<Tool
   238 				Name="VCXMLDataGeneratorTool"
   239 			/>
   240 			<Tool
   241 				Name="VCWebServiceProxyGeneratorTool"
   242 			/>
   243 			<Tool
   244 				Name="VCMIDLTool"
   245 				TargetEnvironment="3"
   246 			/>
   247 			<Tool
   248 				Name="VCCLCompilerTool"
   249 				InlineFunctionExpansion="1"
   250 				AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
   251 				PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS,NO_STDIO_REDIRECT"
   252 				StringPooling="true"
   253 				RuntimeLibrary="2"
   254 				EnableFunctionLevelLinking="true"
   255 				WarningLevel="3"
   256 				SuppressStartupBanner="true"
   257 				CompileAs="0"
   258 			/>
   259 			<Tool
   260 				Name="VCManagedResourceCompilerTool"
   261 			/>
   262 			<Tool
   263 				Name="VCResourceCompilerTool"
   264 			/>
   265 			<Tool
   266 				Name="VCPreLinkEventTool"
   267 			/>
   268 			<Tool
   269 				Name="VCLibrarianTool"
   270 				OutputFile="$(IntDir)\SDLmain.lib"
   271 				SuppressStartupBanner="true"
   272 			/>
   273 			<Tool
   274 				Name="VCALinkTool"
   275 			/>
   276 			<Tool
   277 				Name="VCXDCMakeTool"
   278 			/>
   279 			<Tool
   280 				Name="VCBscMakeTool"
   281 			/>
   282 			<Tool
   283 				Name="VCFxCopTool"
   284 			/>
   285 			<Tool
   286 				Name="VCPostBuildEventTool"
   287 			/>
   288 		</Configuration>
   289 		<Configuration
   290 			Name="Debug|Win32"
   291 			OutputDirectory=".\Debug"
   292 			IntermediateDirectory=".\Debug"
   293 			ConfigurationType="4"
   294 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
   295 			UseOfMFC="0"
   296 			ATLMinimizesCRunTimeLibraryUsage="false"
   297 			>
   298 			<Tool
   299 				Name="VCPreBuildEventTool"
   300 				CommandLine=""
   301 			/>
   302 			<Tool
   303 				Name="VCCustomBuildTool"
   304 			/>
   305 			<Tool
   306 				Name="VCXMLDataGeneratorTool"
   307 			/>
   308 			<Tool
   309 				Name="VCWebServiceProxyGeneratorTool"
   310 			/>
   311 			<Tool
   312 				Name="VCMIDLTool"
   313 			/>
   314 			<Tool
   315 				Name="VCCLCompilerTool"
   316 				Optimization="0"
   317 				AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
   318 				PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS"
   319 				RuntimeLibrary="3"
   320 				WarningLevel="3"
   321 				SuppressStartupBanner="true"
   322 				DebugInformationFormat="1"
   323 				CompileAs="0"
   324 			/>
   325 			<Tool
   326 				Name="VCManagedResourceCompilerTool"
   327 			/>
   328 			<Tool
   329 				Name="VCResourceCompilerTool"
   330 			/>
   331 			<Tool
   332 				Name="VCPreLinkEventTool"
   333 			/>
   334 			<Tool
   335 				Name="VCLibrarianTool"
   336 				OutputFile="$(IntDir)\SDLmain.lib"
   337 				SuppressStartupBanner="true"
   338 			/>
   339 			<Tool
   340 				Name="VCALinkTool"
   341 			/>
   342 			<Tool
   343 				Name="VCXDCMakeTool"
   344 			/>
   345 			<Tool
   346 				Name="VCBscMakeTool"
   347 			/>
   348 			<Tool
   349 				Name="VCFxCopTool"
   350 			/>
   351 			<Tool
   352 				Name="VCPostBuildEventTool"
   353 			/>
   354 		</Configuration>
   355 		<Configuration
   356 			Name="Debug|x64"
   357 			OutputDirectory="$(PlatformName)\$(ConfigurationName)"
   358 			IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
   359 			ConfigurationType="4"
   360 			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
   361 			UseOfMFC="0"
   362 			ATLMinimizesCRunTimeLibraryUsage="false"
   363 			>
   364 			<Tool
   365 				Name="VCPreBuildEventTool"
   366 			/>
   367 			<Tool
   368 				Name="VCCustomBuildTool"
   369 			/>
   370 			<Tool
   371 				Name="VCXMLDataGeneratorTool"
   372 			/>
   373 			<Tool
   374 				Name="VCWebServiceProxyGeneratorTool"
   375 			/>
   376 			<Tool
   377 				Name="VCMIDLTool"
   378 				TargetEnvironment="3"
   379 			/>
   380 			<Tool
   381 				Name="VCCLCompilerTool"
   382 				Optimization="0"
   383 				AdditionalIncludeDirectories="..\..\include,..\..\include\SDL"
   384 				PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS"
   385 				RuntimeLibrary="2"
   386 				WarningLevel="3"
   387 				SuppressStartupBanner="true"
   388 				DebugInformationFormat="1"
   389 				CompileAs="0"
   390 			/>
   391 			<Tool
   392 				Name="VCManagedResourceCompilerTool"
   393 			/>
   394 			<Tool
   395 				Name="VCResourceCompilerTool"
   396 			/>
   397 			<Tool
   398 				Name="VCPreLinkEventTool"
   399 			/>
   400 			<Tool
   401 				Name="VCLibrarianTool"
   402 				OutputFile="$(IntDir)\SDLmain.lib"
   403 				SuppressStartupBanner="true"
   404 			/>
   405 			<Tool
   406 				Name="VCALinkTool"
   407 			/>
   408 			<Tool
   409 				Name="VCXDCMakeTool"
   410 			/>
   411 			<Tool
   412 				Name="VCBscMakeTool"
   413 			/>
   414 			<Tool
   415 				Name="VCFxCopTool"
   416 			/>
   417 			<Tool
   418 				Name="VCPostBuildEventTool"
   419 			/>
   420 		</Configuration>
   421 	</Configurations>
   422 	<References>
   423 	</References>
   424 	<Files>
   425 		<File
   426 			RelativePath="..\..\src\main\windows\SDL_windows_main.c"
   427 			>
   428 		</File>
   429 	</Files>
   430 	<Globals>
   431 	</Globals>
   432 </VisualStudioProject>