If we list verstub.obj in the dialog for extra dependencies, it counts it
as a full dep; since we change it every build, that means the binary
is never actually considered up to date.  We need to list it as an extra
option to the linker, so it gets linked without being factored into
dependencies.
This commit is contained in:
Glenn Maynard
2002-08-29 01:29:08 +00:00
parent fc67045180
commit fcb8bdeeb3
+2 -4
View File
@@ -40,8 +40,7 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386" AdditionalOptions="/MACHINE:I386 $(intdir)\verstub.obj"
AdditionalDependencies="$(intdir)\verstub.obj"
OutputFile="../StepMania-debug.exe" OutputFile="../StepMania-debug.exe"
LinkIncremental="2" LinkIncremental="2"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
@@ -116,8 +115,7 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\"/>
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386" AdditionalOptions="/MACHINE:I386 $(intdir)\verstub.obj"
AdditionalDependencies="$(intdir)\verstub.obj"
OutputFile=".\../StepMania.exe" OutputFile=".\../StepMania.exe"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"