| Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> | 
 | 2 | <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 
 | 3 |   <ItemGroup Label="ProjectConfigurations"> | 
 | 4 |     <ProjectConfiguration Include="Debug|Win32"> | 
 | 5 |       <Configuration>Debug</Configuration> | 
 | 6 |       <Platform>Win32</Platform> | 
 | 7 |     </ProjectConfiguration> | 
 | 8 |     <ProjectConfiguration Include="Debug|x64"> | 
 | 9 |       <Configuration>Debug</Configuration> | 
 | 10 |       <Platform>x64</Platform> | 
 | 11 |     </ProjectConfiguration> | 
 | 12 |     <ProjectConfiguration Include="PGInstrument|Win32"> | 
 | 13 |       <Configuration>PGInstrument</Configuration> | 
 | 14 |       <Platform>Win32</Platform> | 
 | 15 |     </ProjectConfiguration> | 
 | 16 |     <ProjectConfiguration Include="PGInstrument|x64"> | 
 | 17 |       <Configuration>PGInstrument</Configuration> | 
 | 18 |       <Platform>x64</Platform> | 
 | 19 |     </ProjectConfiguration> | 
 | 20 |     <ProjectConfiguration Include="PGUpdate|Win32"> | 
 | 21 |       <Configuration>PGUpdate</Configuration> | 
 | 22 |       <Platform>Win32</Platform> | 
 | 23 |     </ProjectConfiguration> | 
 | 24 |     <ProjectConfiguration Include="PGUpdate|x64"> | 
 | 25 |       <Configuration>PGUpdate</Configuration> | 
 | 26 |       <Platform>x64</Platform> | 
 | 27 |     </ProjectConfiguration> | 
 | 28 |     <ProjectConfiguration Include="Release|Win32"> | 
 | 29 |       <Configuration>Release</Configuration> | 
 | 30 |       <Platform>Win32</Platform> | 
 | 31 |     </ProjectConfiguration> | 
 | 32 |     <ProjectConfiguration Include="Release|x64"> | 
 | 33 |       <Configuration>Release</Configuration> | 
 | 34 |       <Platform>x64</Platform> | 
 | 35 |     </ProjectConfiguration> | 
 | 36 |   </ItemGroup> | 
 | 37 |   <PropertyGroup Label="Globals"> | 
 | 38 |     <ProjectGuid>{B11D750F-CD1F-4A96-85CE-E69A5C5259F9}</ProjectGuid> | 
 | 39 |   </PropertyGroup> | 
| Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 40 |   <Import Project="python.props" /> | 
| Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 41 |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 
| Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 42 |   <PropertyGroup Label="Configuration"> | 
| Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 43 |     <ConfigurationType>Application</ConfigurationType> | 
 | 44 |     <UseOfMfc>false</UseOfMfc> | 
 | 45 |     <CharacterSet>MultiByte</CharacterSet> | 
 | 46 |   </PropertyGroup> | 
 | 47 |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 
 | 48 |   <ImportGroup Label="ExtensionSettings"> | 
 | 49 |   </ImportGroup> | 
| Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 50 |   <ImportGroup Label="PropertySheets"> | 
| Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 51 |     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 
 | 52 |     <Import Project="pyproject.props" /> | 
| Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 53 |   </ImportGroup> | 
 | 54 |   <PropertyGroup Label="UserMacros" /> | 
 | 55 |   <PropertyGroup> | 
 | 56 |     <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | 
| Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 57 |   </PropertyGroup> | 
| Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 58 |   <ItemDefinitionGroup> | 
| Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 59 |     <ClCompile> | 
| Victor Stinner | f7e5b56 | 2017-11-15 15:48:08 -0800 | [diff] [blame] | 60 |       <PreprocessorDefinitions>Py_BUILD_CORE;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 
| Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 61 |     </ClCompile> | 
| Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 62 |     <Link> | 
| Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 63 |       <SubSystem>Console</SubSystem> | 
 | 64 |       <StackReserveSize>2000000</StackReserveSize> | 
| Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 65 |     </Link> | 
| Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 66 |   </ItemDefinitionGroup> | 
 | 67 |   <ItemGroup> | 
 | 68 |     <None Include="..\PC\pycon.ico" /> | 
 | 69 |   </ItemGroup> | 
 | 70 |   <ItemGroup> | 
 | 71 |     <ResourceCompile Include="..\PC\python_exe.rc" /> | 
 | 72 |   </ItemGroup> | 
 | 73 |   <ItemGroup> | 
| Nick Coghlan | 973fe0b | 2014-07-25 21:52:14 +1000 | [diff] [blame] | 74 |     <ClCompile Include="..\Programs\python.c" /> | 
| Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 75 |   </ItemGroup> | 
 | 76 |   <ItemGroup> | 
 | 77 |     <ProjectReference Include="pythoncore.vcxproj"> | 
 | 78 |       <Project>{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}</Project> | 
 | 79 |       <ReferenceOutputAssembly>false</ReferenceOutputAssembly> | 
 | 80 |     </ProjectReference> | 
| Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 81 |   </ItemGroup> | 
 | 82 |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 
 | 83 |   <ImportGroup Label="ExtensionTargets"> | 
 | 84 |   </ImportGroup> | 
| Steve Dower | 40a23e8 | 2017-06-19 10:34:25 -0700 | [diff] [blame] | 85 |   <Target Name="ValidateUcrtbase" AfterTargets="AfterBuild" Condition="$(Configuration) != 'PGInstrument'"> | 
| Steve Dower | a7a222f | 2016-04-12 20:11:25 -0700 | [diff] [blame] | 86 |     <PropertyGroup> | 
 | 87 |       <UcrtName>ucrtbase</UcrtName> | 
 | 88 |       <UcrtName Condition="'$(Configuration)' == 'Debug'">ucrtbased</UcrtName> | 
 | 89 |     </PropertyGroup> | 
| Steve Dower | fb4a96a | 2016-09-22 17:07:56 -0700 | [diff] [blame] | 90 |     <Exec Command='setlocal | 
 | 91 | set PYTHONPATH=$(PySourcePath)Lib | 
 | 92 | "$(OutDir)python$(PyDebugExt).exe" "$(PySourcePath)PC\validate_ucrtbase.py" $(UcrtName)' ContinueOnError="true" /> | 
| Steve Dower | a7a222f | 2016-04-12 20:11:25 -0700 | [diff] [blame] | 93 |   </Target> | 
| Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 94 |   <Target Name="GeneratePythonBat" AfterTargets="AfterBuild"> | 
 | 95 |     <PropertyGroup> | 
| Steve Dower | 40a23e8 | 2017-06-19 10:34:25 -0700 | [diff] [blame] | 96 |       <_PGOPath Condition="$(Configuration) == 'PGInstrument' and $(Platform) == 'Win32'">@set PATH=%PATH%%3B$(VCInstallDir)bin</_PGOPath> | 
 | 97 |       <_PGOPath Condition="$(Configuration) == 'PGInstrument' and $(Platform) == 'x64'">@set PATH=%PATH%%3B$(VCInstallDir)bin\amd64</_PGOPath> | 
| Steve Dower | 5fcd5e6 | 2017-09-06 10:01:38 -0700 | [diff] [blame] | 98 |       <_PGOPath Condition="$(Configuration) == 'PGInstrument' and $(VC_PGO_RunTime_Dir) != ''">@set PATH=%PATH%%3B$(VC_PGO_RunTime_Dir)</_PGOPath> | 
| Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 99 |       <_Content>@rem This script invokes the most recently built Python with all arguments | 
 | 100 | @rem passed through to the interpreter.  This file is generated by the | 
 | 101 | @rem build process and any changes *will* be thrown away by the next | 
 | 102 | @rem rebuild. | 
 | 103 | @rem This is only meant as a convenience for developing CPython | 
 | 104 | @rem and using it outside of that context is ill-advised. | 
 | 105 | @echo Running $(Configuration)^|$(Platform) interpreter... | 
| Steve Dower | fb4a96a | 2016-09-22 17:07:56 -0700 | [diff] [blame] | 106 | @setlocal | 
 | 107 | @set PYTHONHOME=$(PySourcePath) | 
| Steve Dower | 40a23e8 | 2017-06-19 10:34:25 -0700 | [diff] [blame] | 108 | $(_PGOPath) | 
| Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 109 | @"$(OutDir)python$(PyDebugExt).exe" %* | 
 | 110 | </_Content> | 
 | 111 |       <_ExistingContent Condition="Exists('$(PySourcePath)python.bat')">$([System.IO.File]::ReadAllText('$(PySourcePath)python.bat'))</_ExistingContent> | 
 | 112 |     </PropertyGroup> | 
 | 113 |     <WriteLinesToFile File="$(PySourcePath)python.bat" Lines="$(_Content)" Overwrite="true" Condition="'$(_Content)' != '$(_ExistingContent)'" /> | 
 | 114 |   </Target> | 
| Victor Stinner | f7e5b56 | 2017-11-15 15:48:08 -0800 | [diff] [blame] | 115 | </Project> |