]> granicus.if.org Git - python/commitdiff
Fixes build order and lingering intermediate files.
authorSteve Dower <steve.dower@microsoft.com>
Thu, 14 Jul 2016 02:58:21 +0000 (19:58 -0700)
committerSteve Dower <steve.dower@microsoft.com>
Thu, 14 Jul 2016 02:58:21 +0000 (19:58 -0700)
PCbuild/pcbuild.proj
PCbuild/python3dll.vcxproj

index 36621c910cd8f0aae3a2ddd891bcedd08c4676fa..a66184896adbc9a67e4c6fbd2dcb83e59f4a2f02 100644 (file)
@@ -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 -->
       <!-- 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>
 
index cbb618f283c5c937941ccd0744785000338aacf1..c66c8ef141a14861b779cda4d3aebbe4a0e7d079 100644 (file)
@@ -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>
     <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