This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Added power API and test program to Visual C++ project files.
- Loading branch information
Showing
with
245 additions
and 1 deletion.
- +12 −0 VisualC/SDL/SDL.vcproj
- +226 −0 VisualC/tests/testpower/testpower.vcproj
- +7 −1 VisualC/tests/tests.sln
@@ -0,0 +1,226 @@ | ||
<?xml version="1.0" encoding="Windows-1252"?> | ||
<VisualStudioProject | ||
ProjectType="Visual C++" | ||
Version="8.00" | ||
Name="testpower" | ||
ProjectGUID="{C4E04D18-EF76-4B42-B4C2-16A1BACDC0A3}" | ||
RootNamespace="testpower" | ||
> | ||
<Platforms> | ||
<Platform | ||
Name="Win32" | ||
/> | ||
</Platforms> | ||
<ToolFiles> | ||
</ToolFiles> | ||
<Configurations> | ||
<Configuration | ||
Name="Debug|Win32" | ||
OutputDirectory=".\Debug" | ||
IntermediateDirectory=".\Debug" | ||
ConfigurationType="1" | ||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops" | ||
UseOfMFC="0" | ||
ATLMinimizesCRunTimeLibraryUsage="false" | ||
> | ||
<Tool | ||
Name="VCPreBuildEventTool" | ||
/> | ||
<Tool | ||
Name="VCCustomBuildTool" | ||
/> | ||
<Tool | ||
Name="VCXMLDataGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCWebServiceProxyGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCMIDLTool" | ||
PreprocessorDefinitions="_DEBUG" | ||
MkTypLibCompatible="true" | ||
SuppressStartupBanner="true" | ||
TargetEnvironment="1" | ||
TypeLibraryName=".\Debug/testwm.tlb" | ||
/> | ||
<Tool | ||
Name="VCCLCompilerTool" | ||
Optimization="0" | ||
AdditionalIncludeDirectories="..\..\..\include" | ||
PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS" | ||
RuntimeLibrary="2" | ||
UsePrecompiledHeader="0" | ||
PrecompiledHeaderFile=".\Debug/testwm.pch" | ||
AssemblerListingLocation=".\Debug/" | ||
ObjectFile=".\Debug/" | ||
ProgramDataBaseFileName=".\Debug/" | ||
WarningLevel="3" | ||
SuppressStartupBanner="true" | ||
DebugInformationFormat="4" | ||
CompileAs="0" | ||
/> | ||
<Tool | ||
Name="VCManagedResourceCompilerTool" | ||
/> | ||
<Tool | ||
Name="VCResourceCompilerTool" | ||
PreprocessorDefinitions="_DEBUG" | ||
Culture="1033" | ||
/> | ||
<Tool | ||
Name="VCPreLinkEventTool" | ||
/> | ||
<Tool | ||
Name="VCLinkerTool" | ||
AdditionalOptions="/MACHINE:I386" | ||
OutputFile=".\Debug/testwm.exe" | ||
LinkIncremental="2" | ||
SuppressStartupBanner="true" | ||
GenerateDebugInformation="true" | ||
ProgramDatabaseFile=".\Debug/testpower.pdb" | ||
SubSystem="2" | ||
/> | ||
<Tool | ||
Name="VCALinkTool" | ||
/> | ||
<Tool | ||
Name="VCManifestTool" | ||
/> | ||
<Tool | ||
Name="VCXDCMakeTool" | ||
/> | ||
<Tool | ||
Name="VCBscMakeTool" | ||
/> | ||
<Tool | ||
Name="VCFxCopTool" | ||
/> | ||
<Tool | ||
Name="VCAppVerifierTool" | ||
/> | ||
<Tool | ||
Name="VCWebDeploymentTool" | ||
/> | ||
<Tool | ||
Name="VCPostBuildEventTool" | ||
/> | ||
</Configuration> | ||
<Configuration | ||
Name="Release|Win32" | ||
OutputDirectory=".\Release" | ||
IntermediateDirectory=".\Release" | ||
ConfigurationType="1" | ||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops" | ||
UseOfMFC="0" | ||
ATLMinimizesCRunTimeLibraryUsage="false" | ||
> | ||
<Tool | ||
Name="VCPreBuildEventTool" | ||
/> | ||
<Tool | ||
Name="VCCustomBuildTool" | ||
/> | ||
<Tool | ||
Name="VCXMLDataGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCWebServiceProxyGeneratorTool" | ||
/> | ||
<Tool | ||
Name="VCMIDLTool" | ||
PreprocessorDefinitions="NDEBUG" | ||
MkTypLibCompatible="true" | ||
SuppressStartupBanner="true" | ||
TargetEnvironment="1" | ||
TypeLibraryName=".\Release/testpower.tlb" | ||
/> | ||
<Tool | ||
Name="VCCLCompilerTool" | ||
InlineFunctionExpansion="1" | ||
AdditionalIncludeDirectories="..\..\..\include" | ||
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS" | ||
StringPooling="true" | ||
RuntimeLibrary="2" | ||
EnableFunctionLevelLinking="true" | ||
UsePrecompiledHeader="0" | ||
PrecompiledHeaderFile=".\Release/testpower.pch" | ||
AssemblerListingLocation=".\Release/" | ||
ObjectFile=".\Release/" | ||
ProgramDataBaseFileName=".\Release/" | ||
WarningLevel="3" | ||
SuppressStartupBanner="true" | ||
CompileAs="0" | ||
/> | ||
<Tool | ||
Name="VCManagedResourceCompilerTool" | ||
/> | ||
<Tool | ||
Name="VCResourceCompilerTool" | ||
PreprocessorDefinitions="NDEBUG" | ||
Culture="1033" | ||
/> | ||
<Tool | ||
Name="VCPreLinkEventTool" | ||
/> | ||
<Tool | ||
Name="VCLinkerTool" | ||
AdditionalOptions="/MACHINE:I386" | ||
OutputFile=".\Release/testpower.exe" | ||
LinkIncremental="1" | ||
SuppressStartupBanner="true" | ||
ProgramDatabaseFile=".\Release/testpower.pdb" | ||
SubSystem="2" | ||
/> | ||
<Tool | ||
Name="VCALinkTool" | ||
/> | ||
<Tool | ||
Name="VCManifestTool" | ||
/> | ||
<Tool | ||
Name="VCXDCMakeTool" | ||
/> | ||
<Tool | ||
Name="VCBscMakeTool" | ||
/> | ||
<Tool | ||
Name="VCFxCopTool" | ||
/> | ||
<Tool | ||
Name="VCAppVerifierTool" | ||
/> | ||
<Tool | ||
Name="VCWebDeploymentTool" | ||
/> | ||
<Tool | ||
Name="VCPostBuildEventTool" | ||
/> | ||
</Configuration> | ||
</Configurations> | ||
<References> | ||
</References> | ||
<Files> | ||
<File | ||
RelativePath="..\..\Sdl\Debug\SDL.lib" | ||
> | ||
</File> | ||
<File | ||
RelativePath="..\..\SDLmain\Debug\SDLmain.lib" | ||
> | ||
</File> | ||
<File | ||
RelativePath="..\..\..\test\testpower.c" | ||
> | ||
<FileConfiguration | ||
Name="Debug|Win32" | ||
> | ||
<Tool | ||
Name="VCCLCompilerTool" | ||
PrecompiledHeaderFile=".\Debug/testpower.pch" | ||
/> | ||
</FileConfiguration> | ||
</File> | ||
</Files> | ||
<Globals> | ||
</Globals> | ||
</VisualStudioProject> |