Edit

kc3-lang/SDL/premake/VisualC/VS2008/tests/testplatform

Branch :

  • Show log

    Commit

  • Author : Philipp Wiesemann
    Date : 2015-06-21 17:33:46
    Hash : 0e45984f
    Message : Fixed crash if initialization of EGL failed but was tried again later. The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly uninitialized data structure if loading the library first failed. A later try to use EGL then skipped initialization and assumed it was previously successful because the data structure now already existed. This led to at least one crash in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was dereferenced to make a call to eglBindAPI().

  • testplatform.vcproj
  • <?xml version="1.0" encoding="Windows-1252"?>
    <VisualStudioProject
    	ProjectType="Visual C++"
    	Version="9.00"
    	Name="testplatform"
    	ProjectGUID="{BEB73BB4-60A4-7E4E-B9A4-C1AB0D378AB5}"
    	RootNamespace="testplatform"
    	Keyword="Win32Proj"
    	>
    	<Platforms>
    		<Platform
    			Name="Win32"
    		/>
    	</Platforms>
    	<ToolFiles>
    	</ToolFiles>
    	<Configurations>
    		<Configuration
    			Name="Debug|Win32"
    			OutputDirectory="Win32\Debug"
    			IntermediateDirectory="obj\Debug"
    			ConfigurationType="1"
    			CharacterSet="2"
    			>
    			<Tool
    				Name="VCPreBuildEventTool"
    			/>
    			<Tool
    				Name="VCCustomBuildTool"
    			/>
    			<Tool
    				Name="VCXMLDataGeneratorTool"
    			/>
    			<Tool
    				Name="VCWebServiceProxyGeneratorTool"
    			/>
    			<Tool
    				Name="VCMIDLTool"
    			/>
    			<Tool
    				Name="VCCLCompilerTool"
    				Optimization="0"
    				AdditionalIncludeDirectories="..\..;..\..\..\..\..\include"
    				PreprocessorDefinitions="USING_PREMAKE_CONFIG_H;_DEBUG"
    				MinimalRebuild="true"
    				ExceptionHandling="0"
    				BasicRuntimeChecks="3"
    				RuntimeLibrary="3"
    				EnableFunctionLevelLinking="true"
    				UsePrecompiledHeader="0"
    				WarningLevel="3"
    				ProgramDataBaseFileName="$(OutDir)\testplatform.pdb"
    				DebugInformationFormat="4"
    				CompileAs="1"
    			/>
    			<Tool
    				Name="VCManagedResourceCompilerTool"
    			/>
    			<Tool
    				Name="VCResourceCompilerTool"
    				PreprocessorDefinitions="USING_PREMAKE_CONFIG_H;_DEBUG"
    				AdditionalIncludeDirectories="..\..;..\..\..\..\..\include"
    			/>
    			<Tool
    				Name="VCPreLinkEventTool"
    			/>
    			<Tool
    				Name="VCLinkerTool"
    				AdditionalDependencies="..\..\SDL2main\Win32\Debug\SDL2main.lib ..\..\SDL2\Win32\Debug\SDL2.lib"
    				OutputFile="$(OutDir)\testplatform.exe"
    				LinkIncremental="2"
    				AdditionalLibraryDirectories=""
    				GenerateDebugInformation="true"
    				ProgramDataBaseFileName="$(OutDir)\testplatform.pdb"
    				SubSystem="1"
    				EntryPointSymbol="mainCRTStartup"
    				TargetMachine="1"
    			/>
    			<Tool
    				Name="VCALinkTool"
    			/>
    			<Tool
    				Name="VCManifestTool"
    			/>
    			<Tool
    				Name="VCXDCMakeTool"
    			/>
    			<Tool
    				Name="VCBscMakeTool"
    			/>
    			<Tool
    				Name="VCFxCopTool"
    			/>
    			<Tool
    				Name="VCAppVerifierTool"
    			/>
    			<Tool
    				Name="VCWebDeploymentTool"
    			/>
    			<Tool
    				Name="VCPostBuildEventTool"
    				CommandLine="if not exist &quot;.\Win32\Debug&quot; ( mkdir &quot;.\Win32\Debug&quot; )&#x0D;&#x0A;copy &quot;.\..\..\SDL2\Win32\Debug\SDL2.dll&quot; &quot;.\Win32\Debug\SDL2.dll&quot;"
    			/>
    		</Configuration>
    		<Configuration
    			Name="Release|Win32"
    			OutputDirectory="Win32\Release"
    			IntermediateDirectory="obj\Release"
    			ConfigurationType="1"
    			CharacterSet="2"
    			>
    			<Tool
    				Name="VCPreBuildEventTool"
    			/>
    			<Tool
    				Name="VCCustomBuildTool"
    			/>
    			<Tool
    				Name="VCXMLDataGeneratorTool"
    			/>
    			<Tool
    				Name="VCWebServiceProxyGeneratorTool"
    			/>
    			<Tool
    				Name="VCMIDLTool"
    			/>
    			<Tool
    				Name="VCCLCompilerTool"
    				Optimization="2"
    				AdditionalIncludeDirectories="..\..;..\..\..\..\..\include"
    				PreprocessorDefinitions="USING_PREMAKE_CONFIG_H;NDEBUG"
    				ExceptionHandling="0"
    				StringPooling="true"
    				RuntimeLibrary="2"
    				EnableFunctionLevelLinking="true"
    				UsePrecompiledHeader="0"
    				WarningLevel="3"
    				ProgramDataBaseFileName="$(OutDir)\testplatform.pdb"
    				DebugInformationFormat="0"
    				CompileAs="1"
    			/>
    			<Tool
    				Name="VCManagedResourceCompilerTool"
    			/>
    			<Tool
    				Name="VCResourceCompilerTool"
    				PreprocessorDefinitions="USING_PREMAKE_CONFIG_H;NDEBUG"
    				AdditionalIncludeDirectories="..\..;..\..\..\..\..\include"
    			/>
    			<Tool
    				Name="VCPreLinkEventTool"
    			/>
    			<Tool
    				Name="VCLinkerTool"
    				AdditionalDependencies="..\..\SDL2main\Win32\Release\SDL2main.lib ..\..\SDL2\Win32\Release\SDL2.lib"
    				OutputFile="$(OutDir)\testplatform.exe"
    				LinkIncremental="1"
    				AdditionalLibraryDirectories=""
    				GenerateDebugInformation="false"
    				SubSystem="1"
    				OptimizeReferences="2"
    				EnableCOMDATFolding="2"
    				EntryPointSymbol="mainCRTStartup"
    				TargetMachine="1"
    			/>
    			<Tool
    				Name="VCALinkTool"
    			/>
    			<Tool
    				Name="VCManifestTool"
    			/>
    			<Tool
    				Name="VCXDCMakeTool"
    			/>
    			<Tool
    				Name="VCBscMakeTool"
    			/>
    			<Tool
    				Name="VCFxCopTool"
    			/>
    			<Tool
    				Name="VCAppVerifierTool"
    			/>
    			<Tool
    				Name="VCWebDeploymentTool"
    			/>
    			<Tool
    				Name="VCPostBuildEventTool"
    				CommandLine="if not exist &quot;.\Win32\Release&quot; ( mkdir &quot;.\Win32\Release&quot; )&#x0D;&#x0A;copy &quot;.\..\..\SDL2\Win32\Release\SDL2.dll&quot; &quot;.\Win32\Release\SDL2.dll&quot;"
    			/>
    		</Configuration>
    	</Configurations>
    	<References>
    	</References>
    	<Files>
    		<Filter
    			Name="test"
    			Filter=""
    			>
    			<File
    				RelativePath="..\..\..\..\..\test\testplatform.c"
    				>
    			</File>
    		</Filter>
    	</Files>
    	<Globals>
    	</Globals>
    </VisualStudioProject>