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/pyd_d.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/pyd_d.props')
-rw-r--r-- | PCbuild/pyd_d.props | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/PCbuild/pyd_d.props b/PCbuild/pyd_d.props new file mode 100644 index 0000000..7571998 --- /dev/null +++ b/PCbuild/pyd_d.props @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ImportGroup Label="PropertySheets"> + <Import Project="pyproject.props" /> + <Import Project="debug.props" /> + </ImportGroup> + <PropertyGroup Label="UserMacros"> + <PythonExe>$(SolutionDir)python_d.exe</PythonExe> + </PropertyGroup> + <PropertyGroup> + <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> + <LinkIncremental>false</LinkIncremental> + <GenerateManifest>false</GenerateManifest> + <EmbedManifest>false</EmbedManifest> + <TargetExt>.pyd</TargetExt> + <TargetName>$(ProjectName)_d</TargetName> + </PropertyGroup> + <ItemDefinitionGroup> + <ClCompile> + <Optimization>Disabled</Optimization> + <InlineFunctionExpansion>Default</InlineFunctionExpansion> + <IntrinsicFunctions>false</IntrinsicFunctions> + <PreprocessorDefinitions>Py_BUILD_CORE_MODULE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + </ClCompile> + <Link> + <OutputFile>$(OutDir)$(ProjectName)_d.pyd</OutputFile> + <ProgramDatabaseFile>$(OutDir)$(ProjectName)_d.pdb</ProgramDatabaseFile> + <ImportLibrary>$(OutDir)$(TargetName).lib</ImportLibrary> + </Link> + <PostBuildEvent> + <Command> + </Command> + </PostBuildEvent> + </ItemDefinitionGroup> + <ItemGroup> + <BuildMacro Include="PythonExe"> + <Value>$(PythonExe)</Value> + </BuildMacro> + </ItemGroup> +</Project>
\ No newline at end of file |