[CMake] Time each target

Moreland, Kenneth kmorel at sandia.gov
Thu Aug 25 12:58:34 EDT 2016


Does anyone know of a simple way to get CMake to time how long it takes to compile each target? As it stands now, when compiling a CMake-managed project a status is printed before each target is built. What I am looking for is a way to get CMake to print a second status message after the target finishes building with a note on what the wall time of the build was.

-Ken

   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov<mailto:kmorel at sandia.gov>
**  ***  **  phone: (505) 844-8919
    ***      web:   http://kennethmoreland.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160825/7d703b96/attachment.html>


More information about the CMake mailing list