17db96d56Sopenharmony_ci<?xml version="1.0" encoding="utf-8"?> 27db96d56Sopenharmony_ci<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 37db96d56Sopenharmony_ci <ItemGroup Label="ProjectConfigurations"> 47db96d56Sopenharmony_ci <ProjectConfiguration Include="Debug|ARM"> 57db96d56Sopenharmony_ci <Configuration>Debug</Configuration> 67db96d56Sopenharmony_ci <Platform>ARM</Platform> 77db96d56Sopenharmony_ci </ProjectConfiguration> 87db96d56Sopenharmony_ci <ProjectConfiguration Include="Debug|ARM64"> 97db96d56Sopenharmony_ci <Configuration>Debug</Configuration> 107db96d56Sopenharmony_ci <Platform>ARM64</Platform> 117db96d56Sopenharmony_ci </ProjectConfiguration> 127db96d56Sopenharmony_ci <ProjectConfiguration Include="Debug|Win32"> 137db96d56Sopenharmony_ci <Configuration>Debug</Configuration> 147db96d56Sopenharmony_ci <Platform>Win32</Platform> 157db96d56Sopenharmony_ci </ProjectConfiguration> 167db96d56Sopenharmony_ci <ProjectConfiguration Include="Debug|x64"> 177db96d56Sopenharmony_ci <Configuration>Debug</Configuration> 187db96d56Sopenharmony_ci <Platform>x64</Platform> 197db96d56Sopenharmony_ci </ProjectConfiguration> 207db96d56Sopenharmony_ci <ProjectConfiguration Include="PGInstrument|ARM"> 217db96d56Sopenharmony_ci <Configuration>PGInstrument</Configuration> 227db96d56Sopenharmony_ci <Platform>ARM</Platform> 237db96d56Sopenharmony_ci </ProjectConfiguration> 247db96d56Sopenharmony_ci <ProjectConfiguration Include="PGInstrument|ARM64"> 257db96d56Sopenharmony_ci <Configuration>PGInstrument</Configuration> 267db96d56Sopenharmony_ci <Platform>ARM64</Platform> 277db96d56Sopenharmony_ci </ProjectConfiguration> 287db96d56Sopenharmony_ci <ProjectConfiguration Include="PGInstrument|Win32"> 297db96d56Sopenharmony_ci <Configuration>PGInstrument</Configuration> 307db96d56Sopenharmony_ci <Platform>Win32</Platform> 317db96d56Sopenharmony_ci </ProjectConfiguration> 327db96d56Sopenharmony_ci <ProjectConfiguration Include="PGInstrument|x64"> 337db96d56Sopenharmony_ci <Configuration>PGInstrument</Configuration> 347db96d56Sopenharmony_ci <Platform>x64</Platform> 357db96d56Sopenharmony_ci </ProjectConfiguration> 367db96d56Sopenharmony_ci <ProjectConfiguration Include="PGUpdate|ARM"> 377db96d56Sopenharmony_ci <Configuration>PGUpdate</Configuration> 387db96d56Sopenharmony_ci <Platform>ARM</Platform> 397db96d56Sopenharmony_ci </ProjectConfiguration> 407db96d56Sopenharmony_ci <ProjectConfiguration Include="PGUpdate|ARM64"> 417db96d56Sopenharmony_ci <Configuration>PGUpdate</Configuration> 427db96d56Sopenharmony_ci <Platform>ARM64</Platform> 437db96d56Sopenharmony_ci </ProjectConfiguration> 447db96d56Sopenharmony_ci <ProjectConfiguration Include="PGUpdate|Win32"> 457db96d56Sopenharmony_ci <Configuration>PGUpdate</Configuration> 467db96d56Sopenharmony_ci <Platform>Win32</Platform> 477db96d56Sopenharmony_ci </ProjectConfiguration> 487db96d56Sopenharmony_ci <ProjectConfiguration Include="PGUpdate|x64"> 497db96d56Sopenharmony_ci <Configuration>PGUpdate</Configuration> 507db96d56Sopenharmony_ci <Platform>x64</Platform> 517db96d56Sopenharmony_ci </ProjectConfiguration> 527db96d56Sopenharmony_ci <ProjectConfiguration Include="Release|ARM"> 537db96d56Sopenharmony_ci <Configuration>Release</Configuration> 547db96d56Sopenharmony_ci <Platform>ARM</Platform> 557db96d56Sopenharmony_ci </ProjectConfiguration> 567db96d56Sopenharmony_ci <ProjectConfiguration Include="Release|ARM64"> 577db96d56Sopenharmony_ci <Configuration>Release</Configuration> 587db96d56Sopenharmony_ci <Platform>ARM64</Platform> 597db96d56Sopenharmony_ci </ProjectConfiguration> 607db96d56Sopenharmony_ci <ProjectConfiguration Include="Release|Win32"> 617db96d56Sopenharmony_ci <Configuration>Release</Configuration> 627db96d56Sopenharmony_ci <Platform>Win32</Platform> 637db96d56Sopenharmony_ci </ProjectConfiguration> 647db96d56Sopenharmony_ci <ProjectConfiguration Include="Release|x64"> 657db96d56Sopenharmony_ci <Configuration>Release</Configuration> 667db96d56Sopenharmony_ci <Platform>x64</Platform> 677db96d56Sopenharmony_ci </ProjectConfiguration> 687db96d56Sopenharmony_ci </ItemGroup> 697db96d56Sopenharmony_ci <PropertyGroup Label="Globals"> 707db96d56Sopenharmony_ci <ProjectGuid>{B11D750F-CD1F-4A96-85CE-E69A5C5259F9}</ProjectGuid> 717db96d56Sopenharmony_ci </PropertyGroup> 727db96d56Sopenharmony_ci <Import Project="python.props" /> 737db96d56Sopenharmony_ci <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 747db96d56Sopenharmony_ci <PropertyGroup Label="Configuration"> 757db96d56Sopenharmony_ci <ConfigurationType>Application</ConfigurationType> 767db96d56Sopenharmony_ci <UseOfMfc>false</UseOfMfc> 777db96d56Sopenharmony_ci <CharacterSet>MultiByte</CharacterSet> 787db96d56Sopenharmony_ci </PropertyGroup> 797db96d56Sopenharmony_ci <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 807db96d56Sopenharmony_ci <ImportGroup Label="ExtensionSettings"> 817db96d56Sopenharmony_ci </ImportGroup> 827db96d56Sopenharmony_ci <ImportGroup Label="PropertySheets"> 837db96d56Sopenharmony_ci <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 847db96d56Sopenharmony_ci <Import Project="pyproject.props" /> 857db96d56Sopenharmony_ci <Import Project="tcltk.props" /> 867db96d56Sopenharmony_ci </ImportGroup> 877db96d56Sopenharmony_ci <PropertyGroup Label="UserMacros" /> 887db96d56Sopenharmony_ci <PropertyGroup> 897db96d56Sopenharmony_ci <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> 907db96d56Sopenharmony_ci </PropertyGroup> 917db96d56Sopenharmony_ci <ItemDefinitionGroup> 927db96d56Sopenharmony_ci <ClCompile> 937db96d56Sopenharmony_ci <PreprocessorDefinitions>Py_BUILD_CORE;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> 947db96d56Sopenharmony_ci </ClCompile> 957db96d56Sopenharmony_ci <Link> 967db96d56Sopenharmony_ci <SubSystem>Console</SubSystem> 977db96d56Sopenharmony_ci <StackReserveSize Condition="$(Configuration) != 'Debug'">2000000</StackReserveSize> 987db96d56Sopenharmony_ci <StackReserveSize Condition="$(Configuration) == 'Debug'">8000000</StackReserveSize> 997db96d56Sopenharmony_ci </Link> 1007db96d56Sopenharmony_ci </ItemDefinitionGroup> 1017db96d56Sopenharmony_ci <ItemGroup> 1027db96d56Sopenharmony_ci <None Include="..\PC\pycon.ico" /> 1037db96d56Sopenharmony_ci </ItemGroup> 1047db96d56Sopenharmony_ci <ItemGroup> 1057db96d56Sopenharmony_ci <ResourceCompile Include="..\PC\python_exe.rc" /> 1067db96d56Sopenharmony_ci </ItemGroup> 1077db96d56Sopenharmony_ci <ItemGroup> 1087db96d56Sopenharmony_ci <ClCompile Include="..\Programs\python.c" /> 1097db96d56Sopenharmony_ci </ItemGroup> 1107db96d56Sopenharmony_ci <ItemGroup> 1117db96d56Sopenharmony_ci <ProjectReference Include="pythoncore.vcxproj"> 1127db96d56Sopenharmony_ci <Project>{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}</Project> 1137db96d56Sopenharmony_ci <ReferenceOutputAssembly>false</ReferenceOutputAssembly> 1147db96d56Sopenharmony_ci </ProjectReference> 1157db96d56Sopenharmony_ci </ItemGroup> 1167db96d56Sopenharmony_ci <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 1177db96d56Sopenharmony_ci <ImportGroup Label="ExtensionTargets"> 1187db96d56Sopenharmony_ci <Import Project="regen.targets" /> 1197db96d56Sopenharmony_ci </ImportGroup> 1207db96d56Sopenharmony_ci <Target Name="_TriggerPostRegen" AfterTargets="Build" DependsOnTargets="PostBuildRegen" /> 1217db96d56Sopenharmony_ci <Target Name="GeneratePyBuildDirTxt" AfterTargets="Link"> 1227db96d56Sopenharmony_ci <Message Text="Generating $(OutDir)pybuilddir.txt" /> 1237db96d56Sopenharmony_ci <WriteLinesToFile File="$(OutDir)pybuilddir.txt" Lines="%0D%0A" Overwrite="true" /> 1247db96d56Sopenharmony_ci </Target> 1257db96d56Sopenharmony_ci <Target Name="ValidateUcrtbase" AfterTargets="AfterBuild" Condition="$(Configuration) != 'PGInstrument' and $(Platform) != 'ARM' and $(Platform) != 'ARM64'"> 1267db96d56Sopenharmony_ci <PropertyGroup> 1277db96d56Sopenharmony_ci <UcrtName>ucrtbase</UcrtName> 1287db96d56Sopenharmony_ci <UcrtName Condition="'$(Configuration)' == 'Debug'">ucrtbased</UcrtName> 1297db96d56Sopenharmony_ci </PropertyGroup> 1307db96d56Sopenharmony_ci <Exec Command='setlocal 1317db96d56Sopenharmony_ciset PYTHONPATH=$(PySourcePath)Lib 1327db96d56Sopenharmony_ci"$(OutDir)python$(PyDebugExt).exe" "$(PySourcePath)PC\validate_ucrtbase.py" $(UcrtName)' ContinueOnError="true" /> 1337db96d56Sopenharmony_ci </Target> 1347db96d56Sopenharmony_ci <Target Name="GeneratePythonBat" AfterTargets="AfterBuild"> 1357db96d56Sopenharmony_ci <PropertyGroup> 1367db96d56Sopenharmony_ci <_Content>@rem This script invokes the most recently built Python with all arguments 1377db96d56Sopenharmony_ci@rem passed through to the interpreter. This file is generated by the 1387db96d56Sopenharmony_ci@rem build process and any changes *will* be thrown away by the next 1397db96d56Sopenharmony_ci@rem rebuild. 1407db96d56Sopenharmony_ci@rem This is only meant as a convenience for developing CPython 1417db96d56Sopenharmony_ci@rem and using it outside of that context is ill-advised. 1427db96d56Sopenharmony_ci@echo Running $(Configuration)^|$(Platform) interpreter... 1437db96d56Sopenharmony_ci@setlocal 1447db96d56Sopenharmony_ci@set PYTHONHOME=$(PySourcePath) 1457db96d56Sopenharmony_ci@"$(OutDir)python$(PyDebugExt).exe" %* 1467db96d56Sopenharmony_ci</_Content> 1477db96d56Sopenharmony_ci <_ExistingContent Condition="Exists('$(PySourcePath)python.bat')">$([System.IO.File]::ReadAllText('$(PySourcePath)python.bat'))</_ExistingContent> 1487db96d56Sopenharmony_ci </PropertyGroup> 1497db96d56Sopenharmony_ci <WriteLinesToFile File="$(PySourcePath)python.bat" Lines="$(_Content)" Overwrite="true" Condition="'$(_Content)' != '$(_ExistingContent)'" /> 1507db96d56Sopenharmony_ci </Target> 1517db96d56Sopenharmony_ci <Target Name="CopyPGORT" AfterTargets="Link" Condition="$(Configuration) == 'PGInstrument'"> 1527db96d56Sopenharmony_ci <ItemGroup> 1537db96d56Sopenharmony_ci <_PGORT Include="$(VCToolsInstallDir)bin\Hostx86\x86\pgort140.dll" Condition="$(Platform) == 'Win32'" /> 1547db96d56Sopenharmony_ci <_PGORT Include="$(VCToolsInstallDir)bin\Hostx64\x64\pgort140.dll" Condition="$(Platform) == 'x64'" /> 1557db96d56Sopenharmony_ci <_PGORT Include="$(VCToolsInstallDir)bin\arm64\pgort140.dll" Condition="$(Platform) == 'ARM64'" /> 1567db96d56Sopenharmony_ci </ItemGroup> 1577db96d56Sopenharmony_ci <Warning Text="Unable to locate pgort140.dll for $(Platform)." Condition="@(_PGORT) == '' or !Exists(@(_PGORT))" /> 1587db96d56Sopenharmony_ci <Copy SourceFiles="@(_PGORT)" DestinationFolder="$(OutDir)"> 1597db96d56Sopenharmony_ci <Output TaskParameter="CopiedFiles" ItemName="FileWrites" /> 1607db96d56Sopenharmony_ci </Copy> 1617db96d56Sopenharmony_ci </Target> 1627db96d56Sopenharmony_ci</Project> 163