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> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 39 | <MakeVersionInfoBeforeTarget>ClCompile</MakeVersionInfoBeforeTarget> |
Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 40 | </PropertyGroup> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 41 | <Import Project="python.props" /> |
Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 42 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 43 | <PropertyGroup Label="Configuration"> |
Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 44 | <ConfigurationType>Application</ConfigurationType> |
| 45 | <UseOfMfc>false</UseOfMfc> |
| 46 | <CharacterSet>MultiByte</CharacterSet> |
| 47 | </PropertyGroup> |
| 48 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
| 49 | <ImportGroup Label="ExtensionSettings"> |
| 50 | </ImportGroup> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 51 | <ImportGroup Label="PropertySheets"> |
Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 52 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 53 | <Import Project="pyproject.props" /> |
Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 54 | </ImportGroup> |
| 55 | <PropertyGroup Label="UserMacros" /> |
| 56 | <PropertyGroup> |
| 57 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> |
Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 58 | </PropertyGroup> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 59 | <ItemDefinitionGroup> |
Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 60 | <ClCompile> |
Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 61 | <PreprocessorDefinitions>_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 62 | </ClCompile> |
Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 63 | <Link> |
Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 64 | <SubSystem>Console</SubSystem> |
| 65 | <StackReserveSize>2000000</StackReserveSize> |
| 66 | <BaseAddress>0x1d000000</BaseAddress> |
| 67 | </Link> |
Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 68 | </ItemDefinitionGroup> |
| 69 | <ItemGroup> |
| 70 | <None Include="..\PC\pycon.ico" /> |
| 71 | </ItemGroup> |
| 72 | <ItemGroup> |
| 73 | <ResourceCompile Include="..\PC\python_exe.rc" /> |
| 74 | </ItemGroup> |
| 75 | <ItemGroup> |
Nick Coghlan | 973fe0b | 2014-07-25 21:52:14 +1000 | [diff] [blame] | 76 | <ClCompile Include="..\Programs\python.c" /> |
Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 77 | </ItemGroup> |
| 78 | <ItemGroup> |
| 79 | <ProjectReference Include="pythoncore.vcxproj"> |
| 80 | <Project>{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}</Project> |
| 81 | <ReferenceOutputAssembly>false</ReferenceOutputAssembly> |
| 82 | </ProjectReference> |
Brian Curtin | 401f9f3 | 2012-05-13 11:19:23 -0500 | [diff] [blame] | 83 | </ItemGroup> |
| 84 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 85 | <ImportGroup Label="ExtensionTargets"> |
| 86 | </ImportGroup> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 87 | <Target Name="GeneratePythonBat" AfterTargets="AfterBuild"> |
| 88 | <PropertyGroup> |
| 89 | <_Content>@rem This script invokes the most recently built Python with all arguments |
| 90 | @rem passed through to the interpreter. This file is generated by the |
| 91 | @rem build process and any changes *will* be thrown away by the next |
| 92 | @rem rebuild. |
| 93 | @rem This is only meant as a convenience for developing CPython |
| 94 | @rem and using it outside of that context is ill-advised. |
| 95 | @echo Running $(Configuration)^|$(Platform) interpreter... |
| 96 | @"$(OutDir)python$(PyDebugExt).exe" %* |
| 97 | </_Content> |
| 98 | <_ExistingContent Condition="Exists('$(PySourcePath)python.bat')">$([System.IO.File]::ReadAllText('$(PySourcePath)python.bat'))</_ExistingContent> |
| 99 | </PropertyGroup> |
| 100 | <WriteLinesToFile File="$(PySourcePath)python.bat" Lines="$(_Content)" Overwrite="true" Condition="'$(_Content)' != '$(_ExistingContent)'" /> |
| 101 | </Target> |
Zachary Ware | 45bc17b | 2014-04-30 15:47:53 -0500 | [diff] [blame] | 102 | </Project> |