I have a large Qt project, divided into several static libraries (about 70) and one application, and for this I use the .pro file with the subdirs template.
To speed up compilation time, I want to use precompiled headers and found that using PRECOMPILED_HEADER in each subproject does the trick, BUT, each project compiles the precompiled header separately (and the very slowest step).
Is there a way to “split” a precompiled header between all subprojects included in the subdirs? Template, so can a precompiled header be created once and used by all subprojects?
Hello
source
share