Okay, I’ll have a look at catapult. Simply parsing ninja outputs is not a valid option, because the thing I am trying is not guaranteed to build with ninja.
Also using --time-trace
is way more detailed than I thought.
My goal was to simply get the time the compiler took to compile one of the targets, so I can print it on the comandline