summaryrefslogtreecommitdiffstats
path: root/PCbuild/pcbuild.proj
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-07-16 23:13:19 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-07-16 23:13:19 (GMT)
commit6fd76bceda3fefc5e5814108c5fe819050613d33 (patch)
treef8acf1d6f83647788e50ca1ad2b530b1a4f33560 /PCbuild/pcbuild.proj
parentff1d5ab16e6424cf000be314e3c5ca8e42ae43f4 (diff)
downloadcpython-6fd76bceda3fefc5e5814108c5fe819050613d33.zip
cpython-6fd76bceda3fefc5e5814108c5fe819050613d33.tar.gz
cpython-6fd76bceda3fefc5e5814108c5fe819050613d33.tar.bz2
Fixes use of Py_IntDir and Py_OutDir to control build directories.
Diffstat (limited to 'PCbuild/pcbuild.proj')
-rw-r--r--PCbuild/pcbuild.proj32
1 files changed, 30 insertions, 2 deletions
diff --git a/PCbuild/pcbuild.proj b/PCbuild/pcbuild.proj
index a661848..b849783 100644
--- a/PCbuild/pcbuild.proj
+++ b/PCbuild/pcbuild.proj
@@ -21,6 +21,15 @@
<CleanAllTarget>CleanAll</CleanAllTarget>
<BuildInParallel>true</BuildInParallel>
</Projects>
+ <Projects2>
+ <Platform>$(Platform)</Platform>
+ <Configuration>$(Configuration)</Configuration>
+ <Properties></Properties>
+ <BuildTarget>Build</BuildTarget>
+ <CleanTarget>Clean</CleanTarget>
+ <CleanAllTarget>CleanAll</CleanAllTarget>
+ <BuildInParallel>true</BuildInParallel>
+ </Projects2>
</ItemDefinitionGroup>
<ItemGroup>
<!-- pythonXY.dll -->
@@ -35,6 +44,8 @@
</Projects>
<!-- python3.dll -->
<Projects Include="python3dll.vcxproj" />
+ <!-- pyshellext.dll -->
+ <Projects Include="pyshellext.vcxproj" />
<!-- py[w].exe -->
<Projects Include="pylauncher.vcxproj;pywlauncher.vcxproj" />
<!-- _freeze_importlib -->
@@ -58,9 +69,9 @@
</Projects>
<!-- python[w].exe -->
- <Projects Include="python.vcxproj;pythonw.vcxproj">
+ <Projects2 Include="python.vcxproj;pythonw.vcxproj">
<BuildInParallel>false</BuildInParallel>
- </Projects>
+ </Projects2>
</ItemGroup>
<Target Name="Build">
@@ -69,9 +80,20 @@
BuildInParallel="%(BuildInParallel)"
StopOnFirstFailure="true"
Targets="%(BuildTarget)" />
+ <MSBuild Projects="@(Projects2)"
+ Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
+ BuildInParallel="%(BuildInParallel)"
+ StopOnFirstFailure="true"
+ Targets="%(BuildTarget)" />
</Target>
<Target Name="Clean">
+ <MSBuild Projects="@(Projects2)"
+ Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
+ BuildInParallel="%(BuildInParallel)"
+ StopOnFirstFailure="false"
+ Condition="%(CleanTarget) != ''"
+ Targets="%(CleanTarget)" />
<MSBuild Projects="@(Projects)"
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
BuildInParallel="%(BuildInParallel)"
@@ -81,6 +103,12 @@
</Target>
<Target Name="CleanAll">
+ <MSBuild Projects="@(Projects2)"
+ Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
+ BuildInParallel="%(BuildInParallel)"
+ StopOnFirstFailure="false"
+ Condition="%(CleanAllTarget) != ''"
+ Targets="%(CleanAllTarget)" />
<MSBuild Projects="@(Projects)"
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
BuildInParallel="%(BuildInParallel)"