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:
Glenn Maynard
2002-08-29 00:36:50 +00:00
parent 2b51ea0d05
commit 0e44b32a58
+6 -5
View File
@@ -41,6 +41,7 @@
<Tool
Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386"
AdditionalDependencies="$(intdir)\verstub.obj"
OutputFile="../StepMania-debug.exe"
LinkIncremental="2"
SuppressStartupBanner="TRUE"
@@ -63,7 +64,8 @@
CommandLine="mapconv $(IntDir)\$(TargetName).map $(TargetDir)\StepMania.vdi ia32.vdi"/>
<Tool
Name="VCPreBuildEventTool"
CommandLine="verinc"/>
CommandLine="verinc
cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
@@ -115,6 +117,7 @@
<Tool
Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386"
AdditionalDependencies="$(intdir)\verstub.obj"
OutputFile=".\../StepMania.exe"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
@@ -135,7 +138,8 @@
CommandLine="mapconv $(IntDir)\$(TargetName).map $(TargetDir)\StepMania.vdi ia32.vdi"/>
<Tool
Name="VCPreBuildEventTool"
CommandLine="verinc"/>
CommandLine="verinc
cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
@@ -1083,9 +1087,6 @@
<File
RelativePath="Tls.h">
</File>
<File
RelativePath="verstub.cpp">
</File>
</Filter>
<File
RelativePath=".\error.bmp">