From 7741f8f6a99a7fc125a35572f6742e27ac757340 Mon Sep 17 00:00:00 2001 From: Pavol Marko Date: Thu, 24 Jun 2004 18:52:06 +0000 Subject: [PATCH] added MaximalPerformance build option --- amxmodx/msvc/amxmodx_mm.sln | 49 +++--- amxmodx/msvc/amxmodx_mm.vcproj | 262 +++++++++++++++++++++++---------- 2 files changed, 211 insertions(+), 100 deletions(-) diff --git a/amxmodx/msvc/amxmodx_mm.sln b/amxmodx/msvc/amxmodx_mm.sln index 550fc69b..f69b7bfb 100755 --- a/amxmodx/msvc/amxmodx_mm.sln +++ b/amxmodx/msvc/amxmodx_mm.sln @@ -1,29 +1,36 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "amxmodx_mm", "amxmodx_mm.vcproj", "{7A2555A6-CBA6-4BD0-96AE-72DA57B995DF}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection +Microsoft Visual Studio Solution File, Format Version 7.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "amxmodx_mm", "amxmodx_mm.vcproj", "{CDD792EF-ABC5-4C61-803F-616E209C03D6}" EndProject Global GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - JITDebug = JITDebug - JITRelease = JITRelease - MemtestDebug = MemtestDebug - MemtestRelease = MemtestRelease - Release = Release + ConfigName.0 = Debug + ConfigName.1 = JITDebug + ConfigName.2 = JITMemtestRelease + ConfigName.3 = JITRelease + ConfigName.4 = MaximalSpeed + ConfigName.5 = MemtestDebug + ConfigName.6 = MemtestRelease + ConfigName.7 = Release + EndGlobalSection + GlobalSection(ProjectDependencies) = postSolution EndGlobalSection GlobalSection(ProjectConfiguration) = postSolution - {7A2555A6-CBA6-4BD0-96AE-72DA57B995DF}.Debug.ActiveCfg = Debug|Win32 - {7A2555A6-CBA6-4BD0-96AE-72DA57B995DF}.Debug.Build.0 = Debug|Win32 - {7A2555A6-CBA6-4BD0-96AE-72DA57B995DF}.JITDebug.ActiveCfg = JITDebug|Win32 - {7A2555A6-CBA6-4BD0-96AE-72DA57B995DF}.JITDebug.Build.0 = JITDebug|Win32 - {7A2555A6-CBA6-4BD0-96AE-72DA57B995DF}.JITRelease.ActiveCfg = JITRelease|Win32 - {7A2555A6-CBA6-4BD0-96AE-72DA57B995DF}.MemtestDebug.ActiveCfg = MemtestDebug|Win32 - {7A2555A6-CBA6-4BD0-96AE-72DA57B995DF}.MemtestDebug.Build.0 = MemtestDebug|Win32 - {7A2555A6-CBA6-4BD0-96AE-72DA57B995DF}.MemtestRelease.ActiveCfg = MemtestRelease|Win32 - {7A2555A6-CBA6-4BD0-96AE-72DA57B995DF}.MemtestRelease.Build.0 = MemtestRelease|Win32 - {7A2555A6-CBA6-4BD0-96AE-72DA57B995DF}.Release.ActiveCfg = Release|Win32 - {7A2555A6-CBA6-4BD0-96AE-72DA57B995DF}.Release.Build.0 = Release|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.Debug.ActiveCfg = Debug|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.Debug.Build.0 = Debug|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.JITDebug.ActiveCfg = JITDebug|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.JITDebug.Build.0 = JITDebug|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.JITMemtestRelease.ActiveCfg = JITMemtestRelease|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.JITMemtestRelease.Build.0 = JITMemtestRelease|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.JITRelease.ActiveCfg = JITRelease|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.JITRelease.Build.0 = JITRelease|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.MaximalSpeed.ActiveCfg = MaximalSpeed|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.MaximalSpeed.Build.0 = MaximalSpeed|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.MemtestDebug.ActiveCfg = MemtestDebug|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.MemtestDebug.Build.0 = MemtestDebug|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.MemtestRelease.ActiveCfg = MemtestRelease|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.MemtestRelease.Build.0 = MemtestRelease|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.Release.ActiveCfg = Release|Win32 + {CDD792EF-ABC5-4C61-803F-616E209C03D6}.Release.Build.0 = Release|Win32 EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution EndGlobalSection diff --git a/amxmodx/msvc/amxmodx_mm.vcproj b/amxmodx/msvc/amxmodx_mm.vcproj index 86dd8200..4c24d5e0 100755 --- a/amxmodx/msvc/amxmodx_mm.vcproj +++ b/amxmodx/msvc/amxmodx_mm.vcproj @@ -1,7 +1,7 @@ - + @@ -73,14 +73,8 @@ Culture="1033"/> - - - - - - + ProgramDatabaseFile=".\memtestdebug/amxx_mm.pdb" + ImportLibrary=".\memtestdebug/amxx_mm.lib"/> - - - + ProgramDatabaseFile=".\memtestrelease/amxx_mm.pdb" + ImportLibrary=".\memtestrelease/amxx_mm.lib"/> - - - + ProgramDatabaseFile=".\jitdebug/amxx_mm.pdb" + ImportLibrary=".\jitdebug/amxx_mm.lib"/> - - - @@ -404,13 +374,13 @@ Name="VCLinkerTool" AdditionalOptions="/MACHINE:I386" AdditionalDependencies="odbc32.lib odbccp32.lib ..\jit\jits.lib" - OutputFile="release/amxx_mm.dll" + OutputFile="jitrelease/amxx_mm.dll" LinkIncremental="1" SuppressStartupBanner="TRUE" AdditionalLibraryDirectories="..\extra\lib_win32" ModuleDefinitionFile="" - ProgramDatabaseFile=".\release/amxx_mm.pdb" - ImportLibrary=".\release/amxx_mm.lib"/> + ProgramDatabaseFile=".\jitrelease/amxx_mm.pdb" + ImportLibrary=".\jitrelease/amxx_mm.lib"/> + Name="VCWebDeploymentTool"/> + + + + + + + + + + + + + + Name="VCCLCompilerTool" + GlobalOptimizations="TRUE" + InlineFunctionExpansion="1" + EnableIntrinsicFunctions="TRUE" + FavorSizeOrSpeed="1" + OptimizeForProcessor="2" + OptimizeForWindowsApplication="TRUE" + AdditionalIncludeDirectories="..\..\metamod\metamod,..\..\hlsdk\sourcecode\common,..\..\hlsdk\sourcecode\engine,..\..\hlsdk\sourcecode\dlls,..\..\hlsdk\sourcecode\pm_shared,..\extra\include" + PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;amxmodx_mm_EXPORTS;JIT" + StringPooling="TRUE" + RuntimeLibrary="0" + EnableFunctionLevelLinking="TRUE" + UsePrecompiledHeader="2" + PrecompiledHeaderThrough="amxmodx.h" + PrecompiledHeaderFile=".\MaximalSpeed/amxmodx_mm.pch" + AssemblerListingLocation=".\MaximalSpeed/" + ObjectFile=".\MaximalSpeed/" + ProgramDataBaseFileName=".\MaximalSpeed/" + WarningLevel="3" + SuppressStartupBanner="TRUE" + CompileAs="0"/> + Name="VCCustomBuildTool" + CommandLine="copy $(TargetPath) d:\Half-Life\cstrike\addons\amxx\dlls\amxx_mm.dll +" + Outputs="$(TargetName)"/> + + + + + + + + - - - - - - - - - - - - @@ -497,6 +577,21 @@ + + + + + + + + + + @@ -568,18 +663,18 @@ + + + - - - - @@ -622,6 +717,15 @@ + + + + + +