From d48e1f358e66ac9c89a5d05fb09b10c7f63c61e7 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Wed, 30 May 2007 04:54:35 +0000 Subject: [PATCH] Disabled RTTI in all MSVC project files - this has the side effect of reducing the size of some Windows binaries --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40871 --- core/msvc8/sourcemod_mm.vcproj | 2 ++ extensions/batsupport/msvc8/batsupport.vcproj | 2 ++ extensions/bintools/msvc8/bintools.vcproj | 1 + extensions/geoip/msvc8/geoip.vcproj | 2 ++ extensions/mysql/msvc8/sm_mysql.vcproj | 2 ++ extensions/sdktools/msvc8/sdktools.vcproj | 2 ++ extensions/threader/msvc8/threader.vcproj | 2 ++ public/sample_ext/msvc8/sdk.vcproj | 2 ++ sourcepawn/compiler/msvc8/spcomp.vcproj | 2 ++ sourcepawn/jit/x86/msvc8/jit-x86.vcproj | 2 ++ 10 files changed, 19 insertions(+) diff --git a/core/msvc8/sourcemod_mm.vcproj b/core/msvc8/sourcemod_mm.vcproj index e7cd8617..07277577 100644 --- a/core/msvc8/sourcemod_mm.vcproj +++ b/core/msvc8/sourcemod_mm.vcproj @@ -45,6 +45,7 @@ MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="1" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" @@ -121,6 +122,7 @@ AdditionalIncludeDirectories="..\;..\systems;..\..\public;..\..\public\sourcepawn" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SOURCEMOD_MM_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;SOURCEMOD_BUILD" RuntimeLibrary="0" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" diff --git a/extensions/batsupport/msvc8/batsupport.vcproj b/extensions/batsupport/msvc8/batsupport.vcproj index 45c21f06..1a8d15a5 100644 --- a/extensions/batsupport/msvc8/batsupport.vcproj +++ b/extensions/batsupport/msvc8/batsupport.vcproj @@ -45,6 +45,7 @@ MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="1" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" @@ -121,6 +122,7 @@ AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\sourcepawn" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE" RuntimeLibrary="0" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" diff --git a/extensions/bintools/msvc8/bintools.vcproj b/extensions/bintools/msvc8/bintools.vcproj index f069e273..17edac5c 100644 --- a/extensions/bintools/msvc8/bintools.vcproj +++ b/extensions/bintools/msvc8/bintools.vcproj @@ -120,6 +120,7 @@ AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\jit;..\..\..\public\jit\x86;..\..\..\public\sourcepawn" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;BINTOOLS_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD" RuntimeLibrary="0" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" diff --git a/extensions/geoip/msvc8/geoip.vcproj b/extensions/geoip/msvc8/geoip.vcproj index cac3e583..71cb1897 100644 --- a/extensions/geoip/msvc8/geoip.vcproj +++ b/extensions/geoip/msvc8/geoip.vcproj @@ -45,6 +45,7 @@ MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="1" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" @@ -121,6 +122,7 @@ AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\sourcepawn" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;geoip_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE" RuntimeLibrary="0" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" diff --git a/extensions/mysql/msvc8/sm_mysql.vcproj b/extensions/mysql/msvc8/sm_mysql.vcproj index efe81320..b357b1e9 100644 --- a/extensions/mysql/msvc8/sm_mysql.vcproj +++ b/extensions/mysql/msvc8/sm_mysql.vcproj @@ -46,6 +46,7 @@ BasicRuntimeChecks="3" RuntimeLibrary="1" StructMemberAlignment="3" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" @@ -124,6 +125,7 @@ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD" RuntimeLibrary="0" StructMemberAlignment="3" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" diff --git a/extensions/sdktools/msvc8/sdktools.vcproj b/extensions/sdktools/msvc8/sdktools.vcproj index 2d7defb0..6c6f8fa7 100644 --- a/extensions/sdktools/msvc8/sdktools.vcproj +++ b/extensions/sdktools/msvc8/sdktools.vcproj @@ -45,6 +45,7 @@ MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="1" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" @@ -120,6 +121,7 @@ AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD" RuntimeLibrary="0" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" diff --git a/extensions/threader/msvc8/threader.vcproj b/extensions/threader/msvc8/threader.vcproj index 18b6b35b..7d91c6ba 100644 --- a/extensions/threader/msvc8/threader.vcproj +++ b/extensions/threader/msvc8/threader.vcproj @@ -45,6 +45,7 @@ MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="1" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" @@ -120,6 +121,7 @@ AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;THREADER_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;SM_DEFAULT_THREADER" RuntimeLibrary="0" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" diff --git a/public/sample_ext/msvc8/sdk.vcproj b/public/sample_ext/msvc8/sdk.vcproj index 444323ad..b92a6ba3 100644 --- a/public/sample_ext/msvc8/sdk.vcproj +++ b/public/sample_ext/msvc8/sdk.vcproj @@ -45,6 +45,7 @@ MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="1" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" @@ -120,6 +121,7 @@ AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\sourcepawn" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD" RuntimeLibrary="0" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" diff --git a/sourcepawn/compiler/msvc8/spcomp.vcproj b/sourcepawn/compiler/msvc8/spcomp.vcproj index a2570592..a1337101 100644 --- a/sourcepawn/compiler/msvc8/spcomp.vcproj +++ b/sourcepawn/compiler/msvc8/spcomp.vcproj @@ -45,6 +45,7 @@ MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="1" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" @@ -124,6 +125,7 @@ AdditionalIncludeDirectories="..\..\..\public\sourcepawn" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE" RuntimeLibrary="0" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" diff --git a/sourcepawn/jit/x86/msvc8/jit-x86.vcproj b/sourcepawn/jit/x86/msvc8/jit-x86.vcproj index 764e5a91..fabf0413 100644 --- a/sourcepawn/jit/x86/msvc8/jit-x86.vcproj +++ b/sourcepawn/jit/x86/msvc8/jit-x86.vcproj @@ -45,6 +45,7 @@ MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="1" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" @@ -120,6 +121,7 @@ AdditionalIncludeDirectories="..\..\..\..\public\jit;..\..\..\..\public\jit\x86;..\..\..\..\public\sourcepawn" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;JITX86_EXPORTS" RuntimeLibrary="0" + RuntimeTypeInfo="false" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false"