4 ms·
Despite not knowing anything about your code base, I recommend giving pre-compiled headers a try. I am currently working on a game + custom engine that is arou
by w4rh4wk5 4y ago
Despite not knowing anything about your code base, I recommend giving pre-compiled headers a try.
I am currently working on a game + custom engine that is around 1M lines of C++ code. Thanks to pre-compiled headers and forward declarations, I can compile all of it in under 20 seconds (full rebuild, optimizations enabled).
AMD Ryzen 9 7950X 16-Core Processor
All code is stored on an NVMe drive, Windows Defender realtime protection is disabled.
There's also a way to profile your build process with MSVC. It seems a bit daunting at first, but it's actually not that complicated:
https://devblogs.microsoft.com/cppblog/introducing-c-build-insights/ https://devblogs.microsoft.com/cppblog/introducing-c-build-i...
- jahnu 4y agoYes! Pre compiled headers are an absolute must have for any large enough project in msvc. Well worth the effort.