mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Facilitate cross-compilation by having binaries in separate Win32 and x64 directories. Rationalized configs by making proper use of platforms/configurations. Remove pythoncore_pgo project. Add new PGIRelease and PGORelease configurations to perform Profile Guided Optimisation. Removed I64 support, but this can be easily added by copying the x64 platform settings.
		
			
				
	
	
		
			399 lines
		
	
	
	
		
			8.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			399 lines
		
	
	
	
		
			8.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version="1.0" encoding="Windows-1252"?>
 | 
						|
<VisualStudioProject
 | 
						|
	ProjectType="Visual C++"
 | 
						|
	Version="8,00"
 | 
						|
	Name="python"
 | 
						|
	ProjectGUID="{B11D750F-CD1F-4A96-85CE-E69A5C5259F9}"
 | 
						|
	RootNamespace="python"
 | 
						|
	>
 | 
						|
	<Platforms>
 | 
						|
		<Platform
 | 
						|
			Name="Win32"
 | 
						|
		/>
 | 
						|
		<Platform
 | 
						|
			Name="x64"
 | 
						|
		/>
 | 
						|
	</Platforms>
 | 
						|
	<ToolFiles>
 | 
						|
	</ToolFiles>
 | 
						|
	<Configurations>
 | 
						|
		<Configuration
 | 
						|
			Name="Release|Win32"
 | 
						|
			OutputDirectory="$(PlatformName)"
 | 
						|
			IntermediateDirectory="$(PlatformName)\$(ConfigurationName)\python"
 | 
						|
			ConfigurationType="1"
 | 
						|
			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 | 
						|
			UseOfMFC="0"
 | 
						|
			ATLMinimizesCRunTimeLibraryUsage="false"
 | 
						|
			CharacterSet="2"
 | 
						|
			>
 | 
						|
			<Tool
 | 
						|
				Name="VCPreBuildEventTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCCustomBuildTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCXMLDataGeneratorTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCWebServiceProxyGeneratorTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCMIDLTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCCLCompilerTool"
 | 
						|
				Optimization="2"
 | 
						|
				InlineFunctionExpansion="1"
 | 
						|
				AdditionalIncludeDirectories="..\Include,..\PC"
 | 
						|
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
 | 
						|
				StringPooling="true"
 | 
						|
				RuntimeLibrary="2"
 | 
						|
				EnableFunctionLevelLinking="true"
 | 
						|
				UsePrecompiledHeader="0"
 | 
						|
				WarningLevel="3"
 | 
						|
				SuppressStartupBanner="true"
 | 
						|
				DebugInformationFormat="3"
 | 
						|
				CompileAs="0"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCManagedResourceCompilerTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCResourceCompilerTool"
 | 
						|
				PreprocessorDefinitions="NDEBUG"
 | 
						|
				Culture="1033"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCPreLinkEventTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCLinkerTool"
 | 
						|
				AdditionalDependencies="odbccp32.lib"
 | 
						|
				OutputFile="$(OutDir)\python.exe"
 | 
						|
				LinkIncremental="1"
 | 
						|
				SuppressStartupBanner="true"
 | 
						|
				AdditionalLibraryDirectories="$(OutDir)"
 | 
						|
				GenerateDebugInformation="true"
 | 
						|
				ProgramDatabaseFile=""
 | 
						|
				SubSystem="1"
 | 
						|
				StackReserveSize="2000000"
 | 
						|
				BaseAddress="0x1d000000"
 | 
						|
				TargetMachine="1"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCALinkTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCManifestTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCXDCMakeTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCBscMakeTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCFxCopTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCAppVerifierTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCWebDeploymentTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCPostBuildEventTool"
 | 
						|
			/>
 | 
						|
		</Configuration>
 | 
						|
		<Configuration
 | 
						|
			Name="Release|x64"
 | 
						|
			OutputDirectory="$(PlatformName)"
 | 
						|
			IntermediateDirectory="$(PlatformName)\$(ConfigurationName)\python"
 | 
						|
			ConfigurationType="1"
 | 
						|
			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 | 
						|
			UseOfMFC="0"
 | 
						|
			ATLMinimizesCRunTimeLibraryUsage="false"
 | 
						|
			CharacterSet="2"
 | 
						|
			>
 | 
						|
			<Tool
 | 
						|
				Name="VCPreBuildEventTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCCustomBuildTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCXMLDataGeneratorTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCWebServiceProxyGeneratorTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCMIDLTool"
 | 
						|
				TargetEnvironment="3"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCCLCompilerTool"
 | 
						|
				Optimization="2"
 | 
						|
				InlineFunctionExpansion="1"
 | 
						|
				AdditionalIncludeDirectories="..\Include,..\PC"
 | 
						|
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
 | 
						|
				StringPooling="true"
 | 
						|
				RuntimeLibrary="2"
 | 
						|
				EnableFunctionLevelLinking="true"
 | 
						|
				UsePrecompiledHeader="0"
 | 
						|
				WarningLevel="3"
 | 
						|
				SuppressStartupBanner="true"
 | 
						|
				DebugInformationFormat="3"
 | 
						|
				CompileAs="0"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCManagedResourceCompilerTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCResourceCompilerTool"
 | 
						|
				PreprocessorDefinitions="NDEBUG"
 | 
						|
				Culture="1033"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCPreLinkEventTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCLinkerTool"
 | 
						|
				AdditionalDependencies="odbccp32.lib"
 | 
						|
				OutputFile="$(OutDir)\python.exe"
 | 
						|
				LinkIncremental="1"
 | 
						|
				SuppressStartupBanner="true"
 | 
						|
				AdditionalLibraryDirectories="$(OutDir)"
 | 
						|
				GenerateDebugInformation="true"
 | 
						|
				ProgramDatabaseFile=""
 | 
						|
				SubSystem="1"
 | 
						|
				StackReserveSize="2000000"
 | 
						|
				BaseAddress="0x1d000000"
 | 
						|
				TargetMachine="17"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCALinkTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCManifestTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCXDCMakeTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCBscMakeTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCFxCopTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCAppVerifierTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCWebDeploymentTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCPostBuildEventTool"
 | 
						|
			/>
 | 
						|
		</Configuration>
 | 
						|
		<Configuration
 | 
						|
			Name="Debug|Win32"
 | 
						|
			OutputDirectory="$(PlatformName)"
 | 
						|
			IntermediateDirectory="$(PlatformName)\$(ConfigurationName)\python"
 | 
						|
			ConfigurationType="1"
 | 
						|
			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 | 
						|
			UseOfMFC="0"
 | 
						|
			ATLMinimizesCRunTimeLibraryUsage="false"
 | 
						|
			CharacterSet="2"
 | 
						|
			>
 | 
						|
			<Tool
 | 
						|
				Name="VCPreBuildEventTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCCustomBuildTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCXMLDataGeneratorTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCWebServiceProxyGeneratorTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCMIDLTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCCLCompilerTool"
 | 
						|
				Optimization="0"
 | 
						|
				AdditionalIncludeDirectories="..\Include,..\PC"
 | 
						|
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
 | 
						|
				RuntimeLibrary="3"
 | 
						|
				UsePrecompiledHeader="0"
 | 
						|
				BrowseInformation="1"
 | 
						|
				WarningLevel="3"
 | 
						|
				SuppressStartupBanner="true"
 | 
						|
				DebugInformationFormat="3"
 | 
						|
				CompileAs="0"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCManagedResourceCompilerTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCResourceCompilerTool"
 | 
						|
				PreprocessorDefinitions="_DEBUG"
 | 
						|
				Culture="1033"
 | 
						|
				AdditionalIncludeDirectories="..\Include"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCPreLinkEventTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCLinkerTool"
 | 
						|
				AdditionalDependencies="odbccp32.lib"
 | 
						|
				OutputFile="$(OutDir)\python_d.exe"
 | 
						|
				LinkIncremental="1"
 | 
						|
				SuppressStartupBanner="true"
 | 
						|
				AdditionalLibraryDirectories="$(OutDir)"
 | 
						|
				GenerateDebugInformation="true"
 | 
						|
				ProgramDatabaseFile=""
 | 
						|
				SubSystem="1"
 | 
						|
				StackReserveSize="2000000"
 | 
						|
				BaseAddress="0x1d000000"
 | 
						|
				TargetMachine="1"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCALinkTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCManifestTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCXDCMakeTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCBscMakeTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCFxCopTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCAppVerifierTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCWebDeploymentTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCPostBuildEventTool"
 | 
						|
			/>
 | 
						|
		</Configuration>
 | 
						|
		<Configuration
 | 
						|
			Name="Debug|x64"
 | 
						|
			OutputDirectory="$(PlatformName)"
 | 
						|
			IntermediateDirectory="$(PlatformName)\$(ConfigurationName)\python"
 | 
						|
			ConfigurationType="1"
 | 
						|
			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
 | 
						|
			UseOfMFC="0"
 | 
						|
			ATLMinimizesCRunTimeLibraryUsage="false"
 | 
						|
			CharacterSet="2"
 | 
						|
			>
 | 
						|
			<Tool
 | 
						|
				Name="VCPreBuildEventTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCCustomBuildTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCXMLDataGeneratorTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCWebServiceProxyGeneratorTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCMIDLTool"
 | 
						|
				TargetEnvironment="3"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCCLCompilerTool"
 | 
						|
				Optimization="0"
 | 
						|
				AdditionalIncludeDirectories="..\Include,..\PC"
 | 
						|
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
 | 
						|
				RuntimeLibrary="3"
 | 
						|
				UsePrecompiledHeader="0"
 | 
						|
				BrowseInformation="1"
 | 
						|
				WarningLevel="3"
 | 
						|
				SuppressStartupBanner="true"
 | 
						|
				DebugInformationFormat="3"
 | 
						|
				CompileAs="0"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCManagedResourceCompilerTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCResourceCompilerTool"
 | 
						|
				PreprocessorDefinitions="_DEBUG"
 | 
						|
				Culture="1033"
 | 
						|
				AdditionalIncludeDirectories="..\Include"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCPreLinkEventTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCLinkerTool"
 | 
						|
				AdditionalDependencies="odbccp32.lib python26_d.lib"
 | 
						|
				OutputFile="$(OutDir)\python_d.exe"
 | 
						|
				LinkIncremental="1"
 | 
						|
				SuppressStartupBanner="true"
 | 
						|
				AdditionalLibraryDirectories="$(OutDir)"
 | 
						|
				GenerateDebugInformation="true"
 | 
						|
				ProgramDatabaseFile=""
 | 
						|
				SubSystem="1"
 | 
						|
				StackReserveSize="2000000"
 | 
						|
				BaseAddress="0x1d000000"
 | 
						|
				TargetMachine="17"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCALinkTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCManifestTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCXDCMakeTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCBscMakeTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCFxCopTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCAppVerifierTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCWebDeploymentTool"
 | 
						|
			/>
 | 
						|
			<Tool
 | 
						|
				Name="VCPostBuildEventTool"
 | 
						|
			/>
 | 
						|
		</Configuration>
 | 
						|
	</Configurations>
 | 
						|
	<References>
 | 
						|
	</References>
 | 
						|
	<Files>
 | 
						|
		<File
 | 
						|
			RelativePath="..\PC\pycon.ico"
 | 
						|
			>
 | 
						|
		</File>
 | 
						|
		<File
 | 
						|
			RelativePath="..\Modules\python.c"
 | 
						|
			>
 | 
						|
		</File>
 | 
						|
		<File
 | 
						|
			RelativePath="..\PC\python_exe.rc"
 | 
						|
			>
 | 
						|
		</File>
 | 
						|
	</Files>
 | 
						|
	<Globals>
 | 
						|
	</Globals>
 | 
						|
</VisualStudioProject>
 |