|
|
|
|
|
by matheusmoreira
706 days ago
|
|
> CommonUtils.hpp That's the root cause of the slow build. That file is likely to be depended on by way too many other files, triggering massive rebuilds when unrelated code is modified. The headers should be as granular as possible. Breaking up the generic utils file into many specific files will help contain the damage whenever any given file is changed. I wish it was possible to track source code dependencies at the function level. |
|
Like, most C projects import enormous headers with gazillions of function prototypes without having a particularly measurable impact on compile times (compile times in C is quite good, in fact!)