Gross. VC7 calculates dependencies *after* the pre-build rule (so it's not
really pre-build), so after a build, it thinks verstub.cpp has been modified. So we get to use the same build hack here, too.
This commit is contained in:
@@ -41,6 +41,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalOptions="/MACHINE:I386"
|
AdditionalOptions="/MACHINE:I386"
|
||||||
|
AdditionalDependencies="$(intdir)\verstub.obj"
|
||||||
OutputFile="../StepMania-debug.exe"
|
OutputFile="../StepMania-debug.exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
SuppressStartupBanner="TRUE"
|
SuppressStartupBanner="TRUE"
|
||||||
@@ -63,7 +64,8 @@
|
|||||||
CommandLine="mapconv $(IntDir)\$(TargetName).map $(TargetDir)\StepMania.vdi ia32.vdi"/>
|
CommandLine="mapconv $(IntDir)\$(TargetName).map $(TargetDir)\StepMania.vdi ia32.vdi"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="verinc"/>
|
CommandLine="verinc
|
||||||
|
cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreLinkEventTool"/>
|
Name="VCPreLinkEventTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
@@ -115,6 +117,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalOptions="/MACHINE:I386"
|
AdditionalOptions="/MACHINE:I386"
|
||||||
|
AdditionalDependencies="$(intdir)\verstub.obj"
|
||||||
OutputFile=".\../StepMania.exe"
|
OutputFile=".\../StepMania.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
SuppressStartupBanner="TRUE"
|
SuppressStartupBanner="TRUE"
|
||||||
@@ -135,7 +138,8 @@
|
|||||||
CommandLine="mapconv $(IntDir)\$(TargetName).map $(TargetDir)\StepMania.vdi ia32.vdi"/>
|
CommandLine="mapconv $(IntDir)\$(TargetName).map $(TargetDir)\StepMania.vdi ia32.vdi"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="verinc"/>
|
CommandLine="verinc
|
||||||
|
cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreLinkEventTool"/>
|
Name="VCPreLinkEventTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
@@ -1083,9 +1087,6 @@
|
|||||||
<File
|
<File
|
||||||
RelativePath="Tls.h">
|
RelativePath="Tls.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath="verstub.cpp">
|
|
||||||
</File>
|
|
||||||
</Filter>
|
</Filter>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\error.bmp">
|
RelativePath=".\error.bmp">
|
||||||
|
|||||||
Reference in New Issue
Block a user