Skip to content

Commit 8a40f49

Browse files
committed
Use MultiThreadedDLL as RuntimeLibrary (/MD instead of /MT)
This saves another 200 KiB, however, this now requires the MSVC++ to be present. Notepad2 was also linked against this runtime library (requires the old MSVCP60.DLL). Signed-off-by: Sven Strickroth <email@cs-ware.de>
1 parent 6c10972 commit 8a40f49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Notepad2e.vcxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
<Optimization>Disabled</Optimization>
8787
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
8888
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
89-
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
89+
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
9090
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
9191
<MinimalRebuild>true</MinimalRebuild>
9292
</ClCompile>
@@ -101,7 +101,7 @@
101101
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
102102
<OmitFramePointers>true</OmitFramePointers>
103103
<StringPooling>true</StringPooling>
104-
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
104+
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
105105
<FunctionLevelLinking>true</FunctionLevelLinking>
106106
<IntrinsicFunctions>true</IntrinsicFunctions>
107107
<MultiProcessorCompilation>true</MultiProcessorCompilation>

0 commit comments

Comments
 (0)