2012-05-13 16:19:23 +00:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
|
<ItemGroup Label="ProjectConfigurations">
|
2019-02-14 16:31:30 +00:00
|
|
|
|
<ProjectConfiguration Include="Debug|ARM">
|
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
|
<Platform>ARM</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2019-05-17 17:07:24 +00:00
|
|
|
|
<ProjectConfiguration Include="Debug|ARM64">
|
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
|
<Platform>ARM64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2012-05-13 16:19:23 +00:00
|
|
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2019-02-14 16:31:30 +00:00
|
|
|
|
<ProjectConfiguration Include="PGInstrument|ARM">
|
|
|
|
|
<Configuration>PGInstrument</Configuration>
|
|
|
|
|
<Platform>ARM</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2019-05-17 17:07:24 +00:00
|
|
|
|
<ProjectConfiguration Include="PGInstrument|ARM64">
|
|
|
|
|
<Configuration>PGInstrument</Configuration>
|
|
|
|
|
<Platform>ARM64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2012-05-13 16:19:23 +00:00
|
|
|
|
<ProjectConfiguration Include="PGInstrument|Win32">
|
|
|
|
|
<Configuration>PGInstrument</Configuration>
|
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
<ProjectConfiguration Include="PGInstrument|x64">
|
|
|
|
|
<Configuration>PGInstrument</Configuration>
|
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2019-02-14 16:31:30 +00:00
|
|
|
|
<ProjectConfiguration Include="PGUpdate|ARM">
|
|
|
|
|
<Configuration>PGUpdate</Configuration>
|
|
|
|
|
<Platform>ARM</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2019-05-17 17:07:24 +00:00
|
|
|
|
<ProjectConfiguration Include="PGUpdate|ARM64">
|
|
|
|
|
<Configuration>PGUpdate</Configuration>
|
|
|
|
|
<Platform>ARM64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2012-05-13 16:19:23 +00:00
|
|
|
|
<ProjectConfiguration Include="PGUpdate|Win32">
|
|
|
|
|
<Configuration>PGUpdate</Configuration>
|
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
<ProjectConfiguration Include="PGUpdate|x64">
|
|
|
|
|
<Configuration>PGUpdate</Configuration>
|
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2019-02-14 16:31:30 +00:00
|
|
|
|
<ProjectConfiguration Include="Release|ARM">
|
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
|
<Platform>ARM</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2019-05-17 17:07:24 +00:00
|
|
|
|
<ProjectConfiguration Include="Release|ARM64">
|
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
|
<Platform>ARM</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2012-05-13 16:19:23 +00:00
|
|
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
<ProjectConfiguration Include="Release|x64">
|
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
|
<ProjectGuid>{B11D750F-CD1F-4A96-85CE-E69A5C5259F9}</ProjectGuid>
|
|
|
|
|
</PropertyGroup>
|
2014-11-22 20:54:57 +00:00
|
|
|
|
<Import Project="python.props" />
|
2012-05-13 16:19:23 +00:00
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
2014-11-22 20:54:57 +00:00
|
|
|
|
<PropertyGroup Label="Configuration">
|
2012-05-13 16:19:23 +00:00
|
|
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
|
|
|
<UseOfMfc>false</UseOfMfc>
|
|
|
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
|
|
|
<ImportGroup Label="ExtensionSettings">
|
|
|
|
|
</ImportGroup>
|
2014-11-22 20:54:57 +00:00
|
|
|
|
<ImportGroup Label="PropertySheets">
|
2012-05-13 16:19:23 +00:00
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
|
<Import Project="pyproject.props" />
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
|
|
|
|
</PropertyGroup>
|
2014-11-22 20:54:57 +00:00
|
|
|
|
<ItemDefinitionGroup>
|
2012-05-13 16:19:23 +00:00
|
|
|
|
<ClCompile>
|
2017-11-15 23:48:08 +00:00
|
|
|
|
<PreprocessorDefinitions>Py_BUILD_CORE;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2012-05-13 16:19:23 +00:00
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
|
|
|
|
<SubSystem>Console</SubSystem>
|
|
|
|
|
<StackReserveSize>2000000</StackReserveSize>
|
|
|
|
|
</Link>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Include="..\PC\pycon.ico" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ResourceCompile Include="..\PC\python_exe.rc" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2014-07-25 11:52:14 +00:00
|
|
|
|
<ClCompile Include="..\Programs\python.c" />
|
2012-05-13 16:19:23 +00:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ProjectReference Include="pythoncore.vcxproj">
|
|
|
|
|
<Project>{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}</Project>
|
|
|
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
|
</ImportGroup>
|
2019-05-17 17:07:24 +00:00
|
|
|
|
<Target Name="ValidateUcrtbase" AfterTargets="AfterBuild" Condition="$(Configuration) != 'PGInstrument' and $(Platform) != 'ARM' and $(Platform) != 'ARM64'">
|
2016-04-13 03:11:25 +00:00
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<UcrtName>ucrtbase</UcrtName>
|
|
|
|
|
<UcrtName Condition="'$(Configuration)' == 'Debug'">ucrtbased</UcrtName>
|
|
|
|
|
</PropertyGroup>
|
2016-09-23 00:07:56 +00:00
|
|
|
|
<Exec Command='setlocal
|
|
|
|
|
set PYTHONPATH=$(PySourcePath)Lib
|
|
|
|
|
"$(OutDir)python$(PyDebugExt).exe" "$(PySourcePath)PC\validate_ucrtbase.py" $(UcrtName)' ContinueOnError="true" />
|
2016-04-13 03:11:25 +00:00
|
|
|
|
</Target>
|
2014-11-22 20:54:57 +00:00
|
|
|
|
<Target Name="GeneratePythonBat" AfterTargets="AfterBuild">
|
|
|
|
|
<PropertyGroup>
|
2017-06-19 17:34:25 +00:00
|
|
|
|
<_PGOPath Condition="$(Configuration) == 'PGInstrument' and $(Platform) == 'Win32'">@set PATH=%PATH%%3B$(VCInstallDir)bin</_PGOPath>
|
|
|
|
|
<_PGOPath Condition="$(Configuration) == 'PGInstrument' and $(Platform) == 'x64'">@set PATH=%PATH%%3B$(VCInstallDir)bin\amd64</_PGOPath>
|
2017-09-06 17:01:38 +00:00
|
|
|
|
<_PGOPath Condition="$(Configuration) == 'PGInstrument' and $(VC_PGO_RunTime_Dir) != ''">@set PATH=%PATH%%3B$(VC_PGO_RunTime_Dir)</_PGOPath>
|
2014-11-22 20:54:57 +00:00
|
|
|
|
<_Content>@rem This script invokes the most recently built Python with all arguments
|
|
|
|
|
@rem passed through to the interpreter. This file is generated by the
|
|
|
|
|
@rem build process and any changes *will* be thrown away by the next
|
|
|
|
|
@rem rebuild.
|
|
|
|
|
@rem This is only meant as a convenience for developing CPython
|
|
|
|
|
@rem and using it outside of that context is ill-advised.
|
|
|
|
|
@echo Running $(Configuration)^|$(Platform) interpreter...
|
2016-09-23 00:07:56 +00:00
|
|
|
|
@setlocal
|
|
|
|
|
@set PYTHONHOME=$(PySourcePath)
|
2017-06-19 17:34:25 +00:00
|
|
|
|
$(_PGOPath)
|
2014-11-22 20:54:57 +00:00
|
|
|
|
@"$(OutDir)python$(PyDebugExt).exe" %*
|
|
|
|
|
</_Content>
|
|
|
|
|
<_ExistingContent Condition="Exists('$(PySourcePath)python.bat')">$([System.IO.File]::ReadAllText('$(PySourcePath)python.bat'))</_ExistingContent>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<WriteLinesToFile File="$(PySourcePath)python.bat" Lines="$(_Content)" Overwrite="true" Condition="'$(_Content)' != '$(_ExistingContent)'" />
|
|
|
|
|
</Target>
|
2017-11-15 23:48:08 +00:00
|
|
|
|
</Project>
|