Skip to content

Commit

Permalink
Fixes build order and lingering intermediate files.
Browse files Browse the repository at this point in the history
  • Loading branch information
zooba committed Jul 14, 2016
1 parent 252e9ed commit 945863a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 6 additions & 2 deletions PCbuild/pcbuild.proj
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand All @@ -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>

Expand Down
6 changes: 1 addition & 5 deletions PCbuild/python3dll.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>

0 comments on commit 945863a

Please sign in to comment.