summaryrefslogtreecommitdiffstats
path: root/PCbuild/pythoncore.vcproj
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-01-18 09:13:51 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-01-18 09:13:51 (GMT)
commitd078e40d416566d3a88bc47c2df180c85d5e339f (patch)
treed06e90b22394a87dfb47a2f0c14e6377ce6808bb /PCbuild/pythoncore.vcproj
parentd790a7b596585a5726b8e7aa3e5c437944532bc0 (diff)
downloadcpython-d078e40d416566d3a88bc47c2df180c85d5e339f.zip
cpython-d078e40d416566d3a88bc47c2df180c85d5e339f.tar.gz
cpython-d078e40d416566d3a88bc47c2df180c85d5e339f.tar.bz2
Generate getbuildinfo.o each time the linker is invoked;
try to generate SVNVERSION information if subwcrev.exe can be found.
Diffstat (limited to 'PCbuild/pythoncore.vcproj')
-rw-r--r--PCbuild/pythoncore.vcproj25
1 files changed, 13 insertions, 12 deletions
diff --git a/PCbuild/pythoncore.vcproj b/PCbuild/pythoncore.vcproj
index cc56ca2..88ddf1a 100644
--- a/PCbuild/pythoncore.vcproj
+++ b/PCbuild/pythoncore.vcproj
@@ -4,6 +4,7 @@
Version="7.10"
Name="pythoncore"
ProjectGUID="{7AFA1F0B-A8A1-455A-A832-BF263404BBEF}"
+ RootNamespace="pythoncore"
SccProjectName="pythoncore"
SccLocalPath="..">
<Platforms>
@@ -37,6 +38,7 @@
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
+ AdditionalDependencies="getbuildinfo.o"
OutputFile="./python25.dll"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
@@ -54,7 +56,9 @@
<Tool
Name="VCPreBuildEventTool"/>
<Tool
- Name="VCPreLinkEventTool"/>
+ Name="VCPreLinkEventTool"
+ Description="generate buildinfo"
+ CommandLine="make_buildinfo.exe ${ConfigurationName}"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
@@ -94,6 +98,7 @@
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
+ AdditionalDependencies="getbuildinfo.o"
OutputFile="./python25_d.dll"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
@@ -111,7 +116,9 @@
<Tool
Name="VCPreBuildEventTool"/>
<Tool
- Name="VCPreLinkEventTool"/>
+ Name="VCPreLinkEventTool"
+ Description="generate buildinfo"
+ CommandLine="make_buildinfo.exe $(ConfigurationName)"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
@@ -158,6 +165,7 @@
<Tool
Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK"
+ AdditionalDependencies="getbuildinfo.o"
OutputFile="./python25.dll"
LinkIncremental="1"
SuppressStartupBanner="FALSE"
@@ -175,7 +183,9 @@
<Tool
Name="VCPreBuildEventTool"/>
<Tool
- Name="VCPreLinkEventTool"/>
+ Name="VCPreLinkEventTool"
+ Description="generate buildinfo"
+ CommandLine="make_buildinfo.exe ${ConfigurationName}"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
@@ -444,15 +454,6 @@
RelativePath="..\Python\getargs.c">
</File>
<File
- RelativePath="..\Modules\getbuildinfo.c">
- <FileConfiguration
- Name="Release|Win32">
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="BUILD=\&quot;60\&quot;"/>
- </FileConfiguration>
- </File>
- <File
RelativePath="..\Python\getcompiler.c">
</File>
<File