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

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -