c++ - cmake: compilation statistics -
i need figure out translation units need restructured improve compile times, how hold of compilation time, using cmake, translation units ?
i expect replace compiler (and/or linker) 'time original-cmd'. using plain 'make', i'd say:
make cc="time gcc"
the 'time' program run command , report on time took. equivalent mechanism work 'cmake'. if need capture command time, can write own command analogous time (a shell script do) records data want in way want.
Comments
Post a Comment