diff options
author | Brian Curtin <brian@python.org> | 2012-06-20 20:45:12 (GMT) |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2012-06-20 20:45:12 (GMT) |
commit | a7de612a483164ed6a88d6d4309532f355867ba6 (patch) | |
tree | 6f207fd837e9a1555e02bc8a85c826ead5a79c4d /PCbuild/pylauncher.vcxproj | |
parent | 765dd1159698a296575a965c48c20a45694588de (diff) | |
download | cpython-a7de612a483164ed6a88d6d4309532f355867ba6.zip cpython-a7de612a483164ed6a88d6d4309532f355867ba6.tar.gz cpython-a7de612a483164ed6a88d6d4309532f355867ba6.tar.bz2 |
Support 32-bit release building:
Diffstat (limited to 'PCbuild/pylauncher.vcxproj')
-rw-r--r-- | PCbuild/pylauncher.vcxproj | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/PCbuild/pylauncher.vcxproj b/PCbuild/pylauncher.vcxproj index 82880c1..ba19fcf 100644 --- a/PCbuild/pylauncher.vcxproj +++ b/PCbuild/pylauncher.vcxproj @@ -36,11 +36,16 @@ </ImportGroup> <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + <Import Project="pyproject.props" /> + <Import Project="release.props" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <TargetName>py_d</TargetName> </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <TargetName>py</TargetName> + </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> <WarningLevel>Level3</WarningLevel> @@ -52,7 +57,7 @@ <AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <SubSystem>Console</SubSystem> - <OutputFile>$(OutDir)py_d.exe</OutputFile> + <OutputFile>$(OutDir)$(TargetName)_d$(TargetExt)</OutputFile> </Link> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> @@ -61,11 +66,15 @@ <Optimization>MaxSpeed</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> <IntrinsicFunctions>true</IntrinsicFunctions> + <PreprocessorDefinitions>_CONSOLE;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> <EnableCOMDATFolding>true</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> + <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> + <AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies> + <SubSystem>Console</SubSystem> </Link> </ItemDefinitionGroup> <ItemGroup> |