Replies: 7 comments
-
I assume this is only relevant to the pajlada/x headers since they are the only ones in the precompiled header? |
Beta Was this translation helpful? Give feedback.
-
I've noticed things being recompiled as soon as any header file is touched, hence the need for investigation |
Beta Was this translation helpful? Give feedback.
-
not sure if this is related to precompiled headers but worth looking into it |
Beta Was this translation helpful? Give feedback.
-
From my tests, precompiled headers shave off about 70 seconds off the build when using cmake and 4 threads |
Beta Was this translation helpful? Give feedback.
-
Currently investigating ccache viability with precompiled headers disabled |
Beta Was this translation helpful? Give feedback.
-
Cached builds (using ccache) work properly when precompiled headers are disabled. I propose adding an option to the CMake call to disable precompiled headers (so they would be enabled by default to keep the current behaviour). Thoughts on this @fourtf? The consequence would be adding |
Beta Was this translation helpful? Give feedback.
-
To add, the original premise of this investigation was false, modifying header files did not cause more file recompiles with precompiled headers than without. |
Beta Was this translation helpful? Give feedback.
-
Precompiled headers are currently causing us to have to recompile big parts of the project any time any header file changes, I think it's worth investigating what sort of value we're getting from precompiled headers (i.e. if it speeds up compilations), and if it's worth the tradeoff.
Beta Was this translation helpful? Give feedback.
All reactions