summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-07-14 02:58:21 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-07-14 02:58:21 (GMT)
commit945863a691275a7088a4a9227bb35791390ec02a (patch)
treedc53f2c46a2d164a9d9109bc8322b33cfb64e331 /PCbuild
parent252e9ed9744b32fc9f21eae2d58c1afcdb1fd524 (diff)
downloadcpython-945863a691275a7088a4a9227bb35791390ec02a.zip
cpython-945863a691275a7088a4a9227bb35791390ec02a.tar.gz
cpython-945863a691275a7088a4a9227bb35791390ec02a.tar.bz2
Fixes build order and lingering intermediate files.
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/pcbuild.proj8
-rw-r--r--PCbuild/python3dll.vcxproj6
2 files changed, 7 insertions, 7 deletions
diff --git a/PCbuild/pcbuild.proj b/PCbuild/pcbuild.proj
index 36621c9..a661848 100644
--- a/PCbuild/pcbuild.proj
+++ b/PCbuild/pcbuild.proj
@@ -33,8 +33,6 @@
<Projects Include="pythoncore.vcxproj">
<BuildInParallel>false</BuildInParallel>
</Projects>
- <!-- python[w].exe -->
- <Projects Include="python.vcxproj;pythonw.vcxproj" />
<!-- python3.dll -->
<Projects Include="python3dll.vcxproj" />
<!-- py[w].exe -->
@@ -58,12 +56,18 @@
<!-- Disable parallel build for test modules -->
<BuildInParallel>false</BuildInParallel>
</Projects>
+
+ <!-- python[w].exe -->
+ <Projects Include="python.vcxproj;pythonw.vcxproj">
+ <BuildInParallel>false</BuildInParallel>
+ </Projects>
</ItemGroup>
<Target Name="Build">
<MSBuild Projects="@(Projects)"
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
BuildInParallel="%(BuildInParallel)"
+ StopOnFirstFailure="true"
Targets="%(BuildTarget)" />
</Target>
diff --git a/PCbuild/python3dll.vcxproj b/PCbuild/python3dll.vcxproj
index cbb618f..c66c8ef 100644
--- a/PCbuild/python3dll.vcxproj
+++ b/PCbuild/python3dll.vcxproj
@@ -58,6 +58,7 @@
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<_Machine>X86</_Machine>
<_Machine Condition="$(Platform) == 'x64'">X64</_Machine>
+ <ExtensionsToDeleteOnClean>$(ExtensionsToDeleteOnClean);$(IntDir)python3_d.def;$(IntDir)python3stub.def</ExtensionsToDeleteOnClean>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
@@ -133,9 +134,4 @@
<MakeDir Directories="$(IntDir)" />
<WriteLinesToFile File="$(IntDir)python3stub.def" Lines="@(_Lines)" Overwrite="true" />
</Target>
- <Target Name="_CleanStubDef" BeforeTargets="CoreClean">
- <ItemGroup>
- <Clean Include="$(IntDir)python3stub.def" />
- </ItemGroup>
- </Target>
</Project> \ No newline at end of file