diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-07-27 21:56:58 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-07-27 21:56:58 (GMT) |
commit | de9fb28bf1a1d506916c34a5e4858807dc1f9575 (patch) | |
tree | c2ecb9bfd152ccde9de0a20843ad487373e97032 /PCbuild/pyproject.props | |
parent | bea232a15fc818341217901772c7e622e9f9332d (diff) | |
download | cpython-de9fb28bf1a1d506916c34a5e4858807dc1f9575.zip cpython-de9fb28bf1a1d506916c34a5e4858807dc1f9575.tar.gz cpython-de9fb28bf1a1d506916c34a5e4858807dc1f9575.tar.bz2 |
Allow intermediate build directory to be overridden.
Diffstat (limited to 'PCbuild/pyproject.props')
-rw-r--r-- | PCbuild/pyproject.props | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props index d8f39e4..f63c30d 100644 --- a/PCbuild/pyproject.props +++ b/PCbuild/pyproject.props @@ -1,11 +1,15 @@ <?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" TreatAsLocalProperty="Py_IntDir"> <PropertyGroup Label="Globals"> <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> <OutDir>$(BuildPath)</OutDir> - <IntDir>$(SolutionDir)obj\$(ArchName)_$(Configuration)\$(ProjectName)\</IntDir> - <IntDir Condition="$(Configuration) == 'PGInstrument' or $(Configuration) == 'PGUpdate'">$(SolutionDir)obj\$(ArchName)\$(ProjectName)\</IntDir> + <OutDir Condition="'$(Py_OutDir)' != ''">$(Py_OutDir)</OutDir> + <OutDir Condition="!HasTrailingSlash($(OutDir))">$(OutDir)\</OutDir> + <Py_IntDir Condition="'$(Py_IntDir)' == ''">$(SolutionDir)obj\</Py_IntDir> + <IntDir Condition="!HasTrailingSlash($(IntDir))">$(IntDir)\</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> <TargetName>$(TargetName)$(PyDebugExt)</TargetName> <GenerateManifest>false</GenerateManifest> |