diff options
author | Brian Curtin <brian@python.org> | 2012-05-13 16:19:23 (GMT) |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2012-05-13 16:19:23 (GMT) |
commit | 401f9f3d32dcebf5ead8079d46a83fe7c7631581 (patch) | |
tree | 899600f4dad86565fd3585499e2332d2a3599d42 /PCbuild/pyproject.props | |
parent | 708d88c33441b29760b9246d61844eb59c1d0f3a (diff) | |
download | cpython-401f9f3d32dcebf5ead8079d46a83fe7c7631581.zip cpython-401f9f3d32dcebf5ead8079d46a83fe7c7631581.tar.gz cpython-401f9f3d32dcebf5ead8079d46a83fe7c7631581.tar.bz2 |
Fix #13210. Port the Windows build from VS2008 to VS2010.
Diffstat (limited to 'PCbuild/pyproject.props')
-rw-r--r-- | PCbuild/pyproject.props | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props new file mode 100644 index 0000000..4b7081c --- /dev/null +++ b/PCbuild/pyproject.props @@ -0,0 +1,96 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup Label="UserMacros"> + <PyDllName>python33</PyDllName> + <PythonExe>$(SolutionDir)\python.exe</PythonExe> + <externalsDir>..\..</externalsDir> + <sqlite3Dir>$(externalsDir)\sqlite-3.7.4</sqlite3Dir> + <bz2Dir>$(externalsDir)\bzip2-1.0.5</bz2Dir> + <lzmaDir>$(externalsDir)\xz-5.0.3</lzmaDir> + <opensslDir>$(externalsDir)\openssl-1.0.0a</opensslDir> + <tcltkDir>$(externalsDir)\tcltk</tcltkDir> + <tcltk64Dir>$(externalsDir)\tcltk64</tcltk64Dir> + <tcltkLib>$(tcltkDir)\lib\tcl85.lib;$(tcltkDir)\lib\tk85.lib</tcltkLib> + <tcltkLibDebug>$(tcltkDir)\lib\tcl85g.lib;$(tcltkDir)\lib\tk85g.lib</tcltkLibDebug> + <tcltk64Lib>$(tcltk64Dir)\lib\tcl85.lib;$(tcltk64Dir)\lib\tk85.lib</tcltk64Lib> + <tcltk64LibDebug>$(tcltk64Dir)\lib\tcl85g.lib;$(tcltk64Dir)\lib\tk85g.lib</tcltk64LibDebug> + </PropertyGroup> + <PropertyGroup> + <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> + <OutDir>$(SolutionDir)\</OutDir> + <IntDir>$(SolutionDir)$(PlatformName)-temp-$(Configuration)\$(ProjectName)\</IntDir> + <LinkIncremental>false</LinkIncremental> + <TargetExt>.dll</TargetExt> + </PropertyGroup> + <ItemDefinitionGroup> + <ClCompile> + <Optimization>MaxSpeed</Optimization> + <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> + <IntrinsicFunctions>true</IntrinsicFunctions> + <AdditionalIncludeDirectories>..\Include; ..\PC;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <StringPooling>true</StringPooling> + <ExceptionHandling> + </ExceptionHandling> + <RuntimeLibrary>MultiThreaded</RuntimeLibrary> + <FunctionLevelLinking>true</FunctionLevelLinking> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + <CompileAs>Default</CompileAs> + </ClCompile> + <Link> + <AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> + <GenerateDebugInformation>true</GenerateDebugInformation> + <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile> + <SubSystem>Windows</SubSystem> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + <DataExecutionPrevention> + </DataExecutionPrevention> + <TargetMachine>MachineX86</TargetMachine> + </Link> + <ResourceCompile> + <AdditionalIncludeDirectories>..\PC;..\Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + </ResourceCompile> + </ItemDefinitionGroup> + <ItemGroup> + <BuildMacro Include="PyDllName"> + <Value>$(PyDllName)</Value> + </BuildMacro> + <BuildMacro Include="PythonExe"> + <Value>$(PythonExe)</Value> + </BuildMacro> + <BuildMacro Include="externalsDir"> + <Value>$(externalsDir)</Value> + </BuildMacro> + <BuildMacro Include="sqlite3Dir"> + <Value>$(sqlite3Dir)</Value> + </BuildMacro> + <BuildMacro Include="bz2Dir"> + <Value>$(bz2Dir)</Value> + </BuildMacro> + <BuildMacro Include="lzmaDir"> + <Value>$(lzmaDir)</Value> + </BuildMacro> + <BuildMacro Include="opensslDir"> + <Value>$(opensslDir)</Value> + </BuildMacro> + <BuildMacro Include="tcltkDir"> + <Value>$(tcltkDir)</Value> + </BuildMacro> + <BuildMacro Include="tcltk64Dir"> + <Value>$(tcltk64Dir)</Value> + </BuildMacro> + <BuildMacro Include="tcltkLib"> + <Value>$(tcltkLib)</Value> + </BuildMacro> + <BuildMacro Include="tcltkLibDebug"> + <Value>$(tcltkLibDebug)</Value> + </BuildMacro> + <BuildMacro Include="tcltk64Lib"> + <Value>$(tcltk64Lib)</Value> + </BuildMacro> + <BuildMacro Include="tcltk64LibDebug"> + <Value>$(tcltk64LibDebug)</Value> + </BuildMacro> + </ItemGroup> +</Project> |