Added power API and test program to Visual C++ project files.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 17 Jun 2009 04:26:19 +0000
changeset 3198fefe74ca604d
parent 3197 434ce3242e1c
child 3199 3e1bf2b8bd81
Added power API and test program to Visual C++ project files.
VisualC/SDL/SDL.vcproj
VisualC/tests/testpower/testpower.vcproj
VisualC/tests/tests.sln
     1.1 --- a/VisualC/SDL/SDL.vcproj	Tue Jun 16 14:34:15 2009 +0000
     1.2 +++ b/VisualC/SDL/SDL.vcproj	Wed Jun 17 04:26:19 2009 +0000
     1.3 @@ -296,6 +296,10 @@
     1.4  				>
     1.5  			</File>
     1.6  			<File
     1.7 +				RelativePath="..\..\include\SDL_power.h"
     1.8 +				>
     1.9 +			</File>
    1.10 +			<File
    1.11  				RelativePath="..\..\include\SDL_quit.h"
    1.12  				>
    1.13  			</File>
    1.14 @@ -733,6 +737,10 @@
    1.15  			>
    1.16  		</File>
    1.17  		<File
    1.18 +			RelativePath="..\..\src\power\SDL_power.c"
    1.19 +			>
    1.20 +		</File>
    1.21 +		<File
    1.22  			RelativePath="..\..\src\stdlib\SDL_qsort.c"
    1.23  			>
    1.24  		</File>
    1.25 @@ -833,6 +841,10 @@
    1.26  			>
    1.27  		</File>
    1.28  		<File
    1.29 +			RelativePath="..\..\src\power\windows\SDL_syspower.c"
    1.30 +			>
    1.31 +		</File>
    1.32 +		<File
    1.33  			RelativePath="..\..\src\thread\win32\SDL_syssem.c"
    1.34  			>
    1.35  		</File>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/VisualC/tests/testpower/testpower.vcproj	Wed Jun 17 04:26:19 2009 +0000
     2.3 @@ -0,0 +1,226 @@
     2.4 +<?xml version="1.0" encoding="Windows-1252"?>
     2.5 +<VisualStudioProject
     2.6 +	ProjectType="Visual C++"
     2.7 +	Version="8.00"
     2.8 +	Name="testpower"
     2.9 +	ProjectGUID="{C4E04D18-EF76-4B42-B4C2-16A1BACDC0A3}"
    2.10 +	RootNamespace="testpower"
    2.11 +	>
    2.12 +	<Platforms>
    2.13 +		<Platform
    2.14 +			Name="Win32"
    2.15 +		/>
    2.16 +	</Platforms>
    2.17 +	<ToolFiles>
    2.18 +	</ToolFiles>
    2.19 +	<Configurations>
    2.20 +		<Configuration
    2.21 +			Name="Debug|Win32"
    2.22 +			OutputDirectory=".\Debug"
    2.23 +			IntermediateDirectory=".\Debug"
    2.24 +			ConfigurationType="1"
    2.25 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
    2.26 +			UseOfMFC="0"
    2.27 +			ATLMinimizesCRunTimeLibraryUsage="false"
    2.28 +			>
    2.29 +			<Tool
    2.30 +				Name="VCPreBuildEventTool"
    2.31 +			/>
    2.32 +			<Tool
    2.33 +				Name="VCCustomBuildTool"
    2.34 +			/>
    2.35 +			<Tool
    2.36 +				Name="VCXMLDataGeneratorTool"
    2.37 +			/>
    2.38 +			<Tool
    2.39 +				Name="VCWebServiceProxyGeneratorTool"
    2.40 +			/>
    2.41 +			<Tool
    2.42 +				Name="VCMIDLTool"
    2.43 +				PreprocessorDefinitions="_DEBUG"
    2.44 +				MkTypLibCompatible="true"
    2.45 +				SuppressStartupBanner="true"
    2.46 +				TargetEnvironment="1"
    2.47 +				TypeLibraryName=".\Debug/testwm.tlb"
    2.48 +			/>
    2.49 +			<Tool
    2.50 +				Name="VCCLCompilerTool"
    2.51 +				Optimization="0"
    2.52 +				AdditionalIncludeDirectories="..\..\..\include"
    2.53 +				PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS"
    2.54 +				RuntimeLibrary="2"
    2.55 +				UsePrecompiledHeader="0"
    2.56 +				PrecompiledHeaderFile=".\Debug/testwm.pch"
    2.57 +				AssemblerListingLocation=".\Debug/"
    2.58 +				ObjectFile=".\Debug/"
    2.59 +				ProgramDataBaseFileName=".\Debug/"
    2.60 +				WarningLevel="3"
    2.61 +				SuppressStartupBanner="true"
    2.62 +				DebugInformationFormat="4"
    2.63 +				CompileAs="0"
    2.64 +			/>
    2.65 +			<Tool
    2.66 +				Name="VCManagedResourceCompilerTool"
    2.67 +			/>
    2.68 +			<Tool
    2.69 +				Name="VCResourceCompilerTool"
    2.70 +				PreprocessorDefinitions="_DEBUG"
    2.71 +				Culture="1033"
    2.72 +			/>
    2.73 +			<Tool
    2.74 +				Name="VCPreLinkEventTool"
    2.75 +			/>
    2.76 +			<Tool
    2.77 +				Name="VCLinkerTool"
    2.78 +				AdditionalOptions="/MACHINE:I386"
    2.79 +				OutputFile=".\Debug/testwm.exe"
    2.80 +				LinkIncremental="2"
    2.81 +				SuppressStartupBanner="true"
    2.82 +				GenerateDebugInformation="true"
    2.83 +				ProgramDatabaseFile=".\Debug/testpower.pdb"
    2.84 +				SubSystem="2"
    2.85 +			/>
    2.86 +			<Tool
    2.87 +				Name="VCALinkTool"
    2.88 +			/>
    2.89 +			<Tool
    2.90 +				Name="VCManifestTool"
    2.91 +			/>
    2.92 +			<Tool
    2.93 +				Name="VCXDCMakeTool"
    2.94 +			/>
    2.95 +			<Tool
    2.96 +				Name="VCBscMakeTool"
    2.97 +			/>
    2.98 +			<Tool
    2.99 +				Name="VCFxCopTool"
   2.100 +			/>
   2.101 +			<Tool
   2.102 +				Name="VCAppVerifierTool"
   2.103 +			/>
   2.104 +			<Tool
   2.105 +				Name="VCWebDeploymentTool"
   2.106 +			/>
   2.107 +			<Tool
   2.108 +				Name="VCPostBuildEventTool"
   2.109 +			/>
   2.110 +		</Configuration>
   2.111 +		<Configuration
   2.112 +			Name="Release|Win32"
   2.113 +			OutputDirectory=".\Release"
   2.114 +			IntermediateDirectory=".\Release"
   2.115 +			ConfigurationType="1"
   2.116 +			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
   2.117 +			UseOfMFC="0"
   2.118 +			ATLMinimizesCRunTimeLibraryUsage="false"
   2.119 +			>
   2.120 +			<Tool
   2.121 +				Name="VCPreBuildEventTool"
   2.122 +			/>
   2.123 +			<Tool
   2.124 +				Name="VCCustomBuildTool"
   2.125 +			/>
   2.126 +			<Tool
   2.127 +				Name="VCXMLDataGeneratorTool"
   2.128 +			/>
   2.129 +			<Tool
   2.130 +				Name="VCWebServiceProxyGeneratorTool"
   2.131 +			/>
   2.132 +			<Tool
   2.133 +				Name="VCMIDLTool"
   2.134 +				PreprocessorDefinitions="NDEBUG"
   2.135 +				MkTypLibCompatible="true"
   2.136 +				SuppressStartupBanner="true"
   2.137 +				TargetEnvironment="1"
   2.138 +				TypeLibraryName=".\Release/testpower.tlb"
   2.139 +			/>
   2.140 +			<Tool
   2.141 +				Name="VCCLCompilerTool"
   2.142 +				InlineFunctionExpansion="1"
   2.143 +				AdditionalIncludeDirectories="..\..\..\include"
   2.144 +				PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS"
   2.145 +				StringPooling="true"
   2.146 +				RuntimeLibrary="2"
   2.147 +				EnableFunctionLevelLinking="true"
   2.148 +				UsePrecompiledHeader="0"
   2.149 +				PrecompiledHeaderFile=".\Release/testpower.pch"
   2.150 +				AssemblerListingLocation=".\Release/"
   2.151 +				ObjectFile=".\Release/"
   2.152 +				ProgramDataBaseFileName=".\Release/"
   2.153 +				WarningLevel="3"
   2.154 +				SuppressStartupBanner="true"
   2.155 +				CompileAs="0"
   2.156 +			/>
   2.157 +			<Tool
   2.158 +				Name="VCManagedResourceCompilerTool"
   2.159 +			/>
   2.160 +			<Tool
   2.161 +				Name="VCResourceCompilerTool"
   2.162 +				PreprocessorDefinitions="NDEBUG"
   2.163 +				Culture="1033"
   2.164 +			/>
   2.165 +			<Tool
   2.166 +				Name="VCPreLinkEventTool"
   2.167 +			/>
   2.168 +			<Tool
   2.169 +				Name="VCLinkerTool"
   2.170 +				AdditionalOptions="/MACHINE:I386"
   2.171 +				OutputFile=".\Release/testpower.exe"
   2.172 +				LinkIncremental="1"
   2.173 +				SuppressStartupBanner="true"
   2.174 +				ProgramDatabaseFile=".\Release/testpower.pdb"
   2.175 +				SubSystem="2"
   2.176 +			/>
   2.177 +			<Tool
   2.178 +				Name="VCALinkTool"
   2.179 +			/>
   2.180 +			<Tool
   2.181 +				Name="VCManifestTool"
   2.182 +			/>
   2.183 +			<Tool
   2.184 +				Name="VCXDCMakeTool"
   2.185 +			/>
   2.186 +			<Tool
   2.187 +				Name="VCBscMakeTool"
   2.188 +			/>
   2.189 +			<Tool
   2.190 +				Name="VCFxCopTool"
   2.191 +			/>
   2.192 +			<Tool
   2.193 +				Name="VCAppVerifierTool"
   2.194 +			/>
   2.195 +			<Tool
   2.196 +				Name="VCWebDeploymentTool"
   2.197 +			/>
   2.198 +			<Tool
   2.199 +				Name="VCPostBuildEventTool"
   2.200 +			/>
   2.201 +		</Configuration>
   2.202 +	</Configurations>
   2.203 +	<References>
   2.204 +	</References>
   2.205 +	<Files>
   2.206 +		<File
   2.207 +			RelativePath="..\..\Sdl\Debug\SDL.lib"
   2.208 +			>
   2.209 +		</File>
   2.210 +		<File
   2.211 +			RelativePath="..\..\SDLmain\Debug\SDLmain.lib"
   2.212 +			>
   2.213 +		</File>
   2.214 +		<File
   2.215 +			RelativePath="..\..\..\test\testpower.c"
   2.216 +			>
   2.217 +			<FileConfiguration
   2.218 +				Name="Debug|Win32"
   2.219 +				>
   2.220 +				<Tool
   2.221 +					Name="VCCLCompilerTool"
   2.222 +					PrecompiledHeaderFile=".\Debug/testpower.pch"
   2.223 +				/>
   2.224 +			</FileConfiguration>
   2.225 +		</File>
   2.226 +	</Files>
   2.227 +	<Globals>
   2.228 +	</Globals>
   2.229 +</VisualStudioProject>
     3.1 --- a/VisualC/tests/tests.sln	Tue Jun 16 14:34:15 2009 +0000
     3.2 +++ b/VisualC/tests/tests.sln	Wed Jun 17 04:26:19 2009 +0000
     3.3 @@ -1,5 +1,5 @@
     3.4  Microsoft Visual Studio Solution File, Format Version 9.00
     3.5 -# Visual C++ Express 2005
     3.6 +# Visual Studio 2005
     3.7  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "graywin", "graywin\graywin.vcproj", "{0BCCA0BF-073E-439E-BCE0-C9353C177487}"
     3.8  EndProject
     3.9  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "loopwave", "loopwave\loopwave.vcproj", "{AAAD1CB5-7ADA-47AE-85A0-08A6EC48FAFB}"
    3.10 @@ -38,6 +38,8 @@
    3.11  EndProject
    3.12  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testdraw2", "testdraw2\testdraw2.vcproj", "{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}"
    3.13  EndProject
    3.14 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testpower", "testpower\testpower.vcproj", "{C4E04D18-EF76-4B42-B4C2-16A1BACDC0A3}"
    3.15 +EndProject
    3.16  Global
    3.17  	GlobalSection(SolutionConfigurationPlatforms) = preSolution
    3.18  		Debug|Win32 = Debug|Win32
    3.19 @@ -120,6 +122,10 @@
    3.20  		{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}.Debug|Win32.Build.0 = Debug|Win32
    3.21  		{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}.Release|Win32.ActiveCfg = Release|Win32
    3.22  		{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}.Release|Win32.Build.0 = Release|Win32
    3.23 +		{C4E04D18-EF76-4B42-B4C2-16A1BACDC0A3}.Debug|Win32.ActiveCfg = Debug|Win32
    3.24 +		{C4E04D18-EF76-4B42-B4C2-16A1BACDC0A3}.Debug|Win32.Build.0 = Debug|Win32
    3.25 +		{C4E04D18-EF76-4B42-B4C2-16A1BACDC0A3}.Release|Win32.ActiveCfg = Release|Win32
    3.26 +		{C4E04D18-EF76-4B42-B4C2-16A1BACDC0A3}.Release|Win32.Build.0 = Release|Win32
    3.27  	EndGlobalSection
    3.28  	GlobalSection(SolutionProperties) = preSolution
    3.29  		HideSolutionNode = FALSE