Commit a9ded76dff04cc24c8b49d2d3ff2533181798d1e

Ryan C. Gordon 2023-05-19T01:35:08

VisualC: turn on multi-processor compilation. This makes SDL2 build in 12 seconds, instead of 50, on my Windows workstation, with Visual Studio.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/VisualC/SDL/SDL.vcxproj b/VisualC/SDL/SDL.vcxproj
index 2c85790..957dabe 100644
--- a/VisualC/SDL/SDL.vcxproj
+++ b/VisualC/SDL/SDL.vcxproj
@@ -137,6 +137,7 @@
       <DebugInformationFormat>OldStyle</DebugInformationFormat>
       <OmitDefaultLibName>true</OmitDefaultLibName>
       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
     </ClCompile>
     <ResourceCompile>
       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>