Added some optimization flags to the Release builds of pythoncore and the executables.
>
<Tool
Name="VCPreBuildEventTool"
+ CommandLine="python.exe build_ssl.py $(ConfigurationName) $(PlatformName) -a"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCPreLinkEventTool"
- CommandLine="python.exe build_ssl.py $(ConfigurationName) $(PlatformName) -a"
+ CommandLine=""
/>
<Tool
Name="VCLinkerTool"
>
<Tool
Name="VCPreBuildEventTool"
+ CommandLine="python.exe build_ssl.py $(ConfigurationName) $(PlatformName) -a"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCPreLinkEventTool"
- CommandLine="python.exe build_ssl.py $(ConfigurationName) $(PlatformName) -a"
+ CommandLine=""
/>
<Tool
Name="VCLinkerTool"
>
<Tool
Name="VCPreBuildEventTool"
+ CommandLine="python.exe build_ssl.py $(ConfigurationName) $(PlatformName) -a"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCPreLinkEventTool"
- CommandLine="python.exe build_ssl.py $(ConfigurationName) $(PlatformName) -a"
+ CommandLine=""
/>
<Tool
Name="VCLinkerTool"
>
<Tool
Name="VCPreBuildEventTool"
+ CommandLine="python.exe build_ssl.py $(ConfigurationName) $(PlatformName) -a"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCPreLinkEventTool"
- CommandLine="python.exe build_ssl.py $(ConfigurationName) $(PlatformName) -a"
+ CommandLine=""
/>
<Tool
Name="VCLinkerTool"
Name="VCLinkerTool"
OutputFile="$(OutDir)\$(ProjectName).pyd"
ProgramDatabaseFile="$(OutDir)\$(ProjectName).pdb"
- ImportLibrary="$(IntDir)\$(TargetName).lib"
+ ImportLibrary="$(OutDir)\$(TargetName).lib"
/>
<Tool
Name="VCPostBuildEventTool"
- CommandLine="copy $(IntDir)\$(ProjectName).lib $(OutDir)"
+ CommandLine=""
/>
</VisualStudioPropertySheet>
OutputFile="$(OutDir)\$(ProjectName)_d.pyd"
LinkIncremental="1"
ProgramDatabaseFile="$(OutDir)\$(ProjectName)_d.pdb"
- ImportLibrary="$(IntDir)\$(TargetName).lib"
+ ImportLibrary="$(OutDir)\$(TargetName).lib"
/>
<Tool
Name="VCPostBuildEventTool"
- CommandLine="copy $(IntDir)\$(ProjectName)_d.lib $(OutDir)"
+ CommandLine=""
/>
</VisualStudioPropertySheet>
OutputFile="$(OutDir)\python.exe"
SubSystem="1"
StackReserveSize="2000000"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ LinkTimeCodeGeneration="1"
BaseAddress="0x1d000000"
/>
<Tool
OutputFile="$(OutDir)\python.exe"
SubSystem="1"
StackReserveSize="2000000"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ LinkTimeCodeGeneration="1"
BaseAddress="0x1d000000"
/>
<Tool
OutputFile="$(OutDir)\$(PyDllName).dll"
IgnoreDefaultLibraryNames="libc"
ProgramDatabaseFile="$(OutDir)$(PyDllName).pdb"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ LinkTimeCodeGeneration="1"
BaseAddress="0x1e000000"
ImportLibrary="$(OutDir)$(PyDllName).lib"
/>
OutputFile="$(OutDir)\$(PyDllName).dll"
IgnoreDefaultLibraryNames="libc"
ProgramDatabaseFile="$(OutDir)$(PyDllName).pdb"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ LinkTimeCodeGeneration="1"
BaseAddress="0x1e000000"
ImportLibrary="$(OutDir)$(PyDllName).lib"
/>
OutputFile="$(OutDir)\pythonw.exe"
SubSystem="2"
StackReserveSize="2000000"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ LinkTimeCodeGeneration="1"
BaseAddress="0x1d000000"
TargetMachine="1"
/>
OutputFile="$(OutDir)\pythonw.exe"
SubSystem="2"
StackReserveSize="2000000"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ LinkTimeCodeGeneration="1"
BaseAddress="0x1d000000"
/>
<Tool
/>
<Tool
Name="VCLinkerTool"
+ GenerateDebugInformation="false"
SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCLinkerTool"
+ GenerateDebugInformation="false"
SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
/>
<Tool
Name="VCALinkTool"