The Windows.h header includes a lot of other stuff that slows down project compilation. Disabling as many of them as possible reduces build times for the client and server combined by 3 seconds, from 17 to 14 seconds. Larger projects will see a bigger decrease, scaling linearly with the number of source files that include Platform.h directly or indirectly.
The
Windows.h
header includes a lot of other stuff that slows down project compilation. Disabling as many of them as possible reduces build times for the client and server combined by 3 seconds, from 17 to 14 seconds. Larger projects will see a bigger decrease, scaling linearly with the number of source files that includePlatform.h
directly or indirectly.