I spent the better portion of my afternoon yesterday attempting to reduce my compile times. I have 4 dlls that comprise an application, and each shares a header file that includes a few stb libraries. So when I recompile the whole project, that header file, along with all its contents are being needlessly compiled for each dll.
I tried to build the stb libraries as .obj, and pch, but after hours of attempts and searches I gave up the search.
Is it possible to achieve a compilation strategy where the stb libs are compiled once - and linked to each dll? Ideas, or resources on how to achieve this?