SPU2ghz: Moved the svnrev additions to a new 'common' folder which is shared by all projects (pcsx2 included). The common folder now includes the necessary utility, so it should build out-of-the-box now (no more path setup or program installs necessary)

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@293 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
Jake.Stine 2008-11-05 08:49:21 +00:00 committed by Gregory Hainaut
parent 4c2518b0f0
commit 97dd495e85
5 changed files with 333 additions and 8 deletions

BIN
common/SubWCRev.exe Normal file

Binary file not shown.

View File

@ -7,6 +7,7 @@ Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug SSE2|Win32 = Debug SSE2|Win32
Debug|Win32 = Debug|Win32
DebugFast|Win32 = DebugFast|Win32
Public Release|Win32 = Public Release|Win32
Release|Win32 = Release|Win32
EndGlobalSection
@ -15,6 +16,8 @@ Global
{5307BBB7-EBB9-4AA4-8CB6-A94EC473C8C4}.Debug SSE2|Win32.Build.0 = Debug SSE2|Win32
{5307BBB7-EBB9-4AA4-8CB6-A94EC473C8C4}.Debug|Win32.ActiveCfg = Debug|Win32
{5307BBB7-EBB9-4AA4-8CB6-A94EC473C8C4}.Debug|Win32.Build.0 = Debug|Win32
{5307BBB7-EBB9-4AA4-8CB6-A94EC473C8C4}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
{5307BBB7-EBB9-4AA4-8CB6-A94EC473C8C4}.DebugFast|Win32.Build.0 = DebugFast|Win32
{5307BBB7-EBB9-4AA4-8CB6-A94EC473C8C4}.Public Release|Win32.ActiveCfg = Public Release|Win32
{5307BBB7-EBB9-4AA4-8CB6-A94EC473C8C4}.Public Release|Win32.Build.0 = Public Release|Win32
{5307BBB7-EBB9-4AA4-8CB6-A94EC473C8C4}.Release|Win32.ActiveCfg = Release|Win32

View File

@ -26,7 +26,7 @@
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="SubWCRev.exe $(ProjectDir) $(SolutionDir)svnrev_template.h $(ProjectDir)svnrev.h"
CommandLine="$(SolutionDir)..\common\SubWCRev.exe $(ProjectDir) $(SolutionDir)..\common\svnrev_template.h $(ProjectDir)svnrev.h"
/>
<Tool
Name="VCCustomBuildTool"
@ -132,7 +132,7 @@
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="SubWCRev.exe $(ProjectDir) $(SolutionDir)svnrev_template.h $(ProjectDir)svnrev.h"
CommandLine="$(SolutionDir)..\common\SubWCRev.exe $(ProjectDir) $(SolutionDir)..\common\svnrev_template.h $(ProjectDir)svnrev.h"
/>
<Tool
Name="VCCustomBuildTool"
@ -230,7 +230,7 @@
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="SubWCRev.exe $(ProjectDir) $(SolutionDir)svnrev_template.h $(ProjectDir)svnrev.h"
CommandLine="$(SolutionDir)..\common\SubWCRev.exe $(ProjectDir) $(SolutionDir)..\common\svnrev_template.h $(ProjectDir)svnrev.h"
/>
<Tool
Name="VCCustomBuildTool"
@ -339,7 +339,7 @@
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="SubWCRev.exe $(ProjectDir) $(SolutionDir)svnrev_template.h $(ProjectDir)svnrev.h"
CommandLine="$(SolutionDir)..\common\SubWCRev.exe $(ProjectDir) $(SolutionDir)..\common\svnrev_template.h $(ProjectDir)svnrev.h"
/>
<Tool
Name="VCCustomBuildTool"
@ -425,6 +425,103 @@
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="DebugFast|Win32"
OutputDirectory="$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="$(SolutionDir)..\common\SubWCRev.exe $(ProjectDir) $(SolutionDir)..\common\svnrev_template.h $(ProjectDir)svnrev.h"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\Debug/SPU2ghz.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG_FAST;_DEBUG;__WIN32__;__MSCW32__;WIN32;_WINDOWS;_USRDLL;SPU2GHZ_EXPORTS;_VS2005;_CRT_SECURE_NO_DEPRECATE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
PrecompiledHeaderFile=".\Debug/SPU2ghz.pch"
AssemblerListingLocation="$(IntDir)\"
BrowseInformation="1"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="3082"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="winmm.lib dsound.lib"
OutputFile="$(SolutionDir)\bin\SPU2ghz-d.dll"
LinkIncremental="2"
SuppressStartupBanner="true"
ModuleDefinitionFile=".\SPU2ghz.def"
GenerateDebugInformation="true"
ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
SupportUnloadOfDelayLoadedDLL="false"
ImportLibrary=".\Debug/SPU2ghz1.lib"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\Debug/SPU2ghz.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
@ -512,6 +609,16 @@
BrowseInformation="1"
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
AssemblerOutput="4"
BrowseInformation="1"
/>
</FileConfiguration>
</File>
<File
RelativePath="mixer.h"
@ -562,6 +669,15 @@
BrowseInformation="1"
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
BrowseInformation="1"
/>
</FileConfiguration>
</File>
<File
RelativePath="debug.h"
@ -657,6 +773,15 @@
BrowseInformation="1"
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
BrowseInformation="1"
/>
</FileConfiguration>
</File>
<File
RelativePath="sndout.h"
@ -834,6 +959,15 @@
BrowseInformation="1"
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
BrowseInformation="1"
/>
</FileConfiguration>
</File>
</Filter>
<Filter
@ -967,6 +1101,15 @@
BrowseInformation="1"
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
BrowseInformation="1"
/>
</FileConfiguration>
</File>
<File
RelativePath="dma.h"
@ -1054,6 +1197,15 @@
BrowseInformation="1"
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
BrowseInformation="1"
/>
</FileConfiguration>
</File>
<File
RelativePath="spu2.h"
@ -1104,6 +1256,15 @@
BrowseInformation="1"
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
BrowseInformation="1"
/>
</FileConfiguration>
</File>
<File
RelativePath="config.h"

View File

@ -27,7 +27,7 @@
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="SubWCRev.exe $(ProjectDir) $(SolutionDir)svnrev_template.h $(ProjectDir)svnrev.h"
CommandLine="$(SolutionDir)..\common\SubWCRev.exe $(ProjectDir) $(SolutionDir)..\common\svnrev_template.h $(ProjectDir)svnrev.h"
/>
<Tool
Name="VCCustomBuildTool"
@ -133,7 +133,7 @@
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="SubWCRev.exe $(ProjectDir) $(SolutionDir)svnrev_template.h $(ProjectDir)svnrev.h"
CommandLine="$(SolutionDir)..\common\SubWCRev.exe $(ProjectDir) $(SolutionDir)..\common\svnrev_template.h $(ProjectDir)svnrev.h"
/>
<Tool
Name="VCCustomBuildTool"
@ -231,7 +231,7 @@
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="SubWCRev.exe $(ProjectDir) $(SolutionDir)svnrev_template.h $(ProjectDir)svnrev.h"
CommandLine="$(SolutionDir)..\common\SubWCRev.exe $(ProjectDir) $(SolutionDir)..\common\svnrev_template.h $(ProjectDir)svnrev.h"
/>
<Tool
Name="VCCustomBuildTool"
@ -340,7 +340,7 @@
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="SubWCRev.exe $(ProjectDir) $(SolutionDir)svnrev_template.h $(ProjectDir)svnrev.h"
CommandLine="$(SolutionDir)..\common\SubWCRev.exe $(ProjectDir) $(SolutionDir)..\common\svnrev_template.h $(ProjectDir)svnrev.h"
/>
<Tool
Name="VCCustomBuildTool"
@ -426,6 +426,103 @@
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="DebugFast|Win32"
OutputDirectory="$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="$(SolutionDir)..\common\SubWCRev.exe $(ProjectDir) $(SolutionDir)..\common\svnrev_template.h $(ProjectDir)svnrev.h"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\Debug/SPU2ghz.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG_FAST;_DEBUG;__WIN32__;__MSCW32__;WIN32;_WINDOWS;_USRDLL;SPU2GHZ_EXPORTS;_VS2005;_CRT_SECURE_NO_DEPRECATE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
PrecompiledHeaderFile=".\Debug/SPU2ghz.pch"
AssemblerListingLocation="$(IntDir)\"
BrowseInformation="1"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="3082"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="winmm.lib dsound.lib"
OutputFile="$(SolutionDir)\bin\SPU2ghz-d.dll"
LinkIncremental="2"
SuppressStartupBanner="true"
ModuleDefinitionFile=".\SPU2ghz.def"
GenerateDebugInformation="true"
ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
SupportUnloadOfDelayLoadedDLL="false"
ImportLibrary=".\Debug/SPU2ghz1.lib"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\Debug/SPU2ghz.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
@ -513,6 +610,16 @@
BrowseInformation="1"
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
AssemblerOutput="4"
BrowseInformation="1"
/>
</FileConfiguration>
</File>
<File
RelativePath="mixer.h"
@ -563,6 +670,15 @@
BrowseInformation="1"
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
BrowseInformation="1"
/>
</FileConfiguration>
</File>
<File
RelativePath="debug.h"
@ -658,6 +774,15 @@
BrowseInformation="1"
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
BrowseInformation="1"
/>
</FileConfiguration>
</File>
<File
RelativePath="sndout.h"
@ -835,6 +960,15 @@
BrowseInformation="1"
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
BrowseInformation="1"
/>
</FileConfiguration>
</File>
</Filter>
<Filter
@ -968,6 +1102,15 @@
BrowseInformation="1"
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
BrowseInformation="1"
/>
</FileConfiguration>
</File>
<File
RelativePath="dma.h"
@ -1055,6 +1198,15 @@
BrowseInformation="1"
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
BrowseInformation="1"
/>
</FileConfiguration>
</File>
<File
RelativePath="spu2.h"
@ -1105,6 +1257,15 @@
BrowseInformation="1"
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
BrowseInformation="1"
/>
</FileConfiguration>
</File>
<File
RelativePath="config.h"