[Python-checkins] cpython (3.5): Fixes default intermediate directory when building on Windows.

steve.dower python-checkins at python.org
Sun Jul 24 21:07:14 EDT 2016


https://hg.python.org/cpython/rev/d8ab156b84be
changeset:   102438:d8ab156b84be
branch:      3.5
parent:      102430:3005fc6cff8a
user:        Steve Dower <steve.dower at microsoft.com>
date:        Sun Jul 24 18:03:22 2016 -0700
summary:
  Fixes default intermediate directory when building on Windows.

files:
  PCbuild/pyproject.props |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -5,7 +5,7 @@
     <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
     <OutDir>$(BuildPath)</OutDir>
     <OutDir Condition="!HasTrailingSlash($(OutDir))">$(OutDir)\</OutDir>
-    <Py_IntDir Condition="'$(PyIntDir)' == ''">$(SolutionDir)obj\</Py_IntDir>
+    <Py_IntDir Condition="'$(Py_IntDir)' == ''">$(MSBuildThisFileDirectory)obj\</Py_IntDir>
     <IntDir>$(Py_IntDir)\$(ArchName)_$(Configuration)\$(ProjectName)\</IntDir>
     <IntDir Condition="$(Configuration) == 'PGInstrument' or $(Configuration) == 'PGUpdate'">$(Py_IntDir)\$(ArchName)_PGO\$(ProjectName)\</IntDir>
     <TargetName Condition="'$(TargetName)' == ''">$(ProjectName)</TargetName>

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list