#!/usr/bin/perl -w
# To use:
#   make | & CMake/stat.pl > tt.csv
#   open -a numbers tt.csv

use strict;

my $line;
my $lastPercent = 0;

while( <STDIN> )
{
    if( /(\d+)...Built target (\w+)/ )
    {
        my $abs = $1-$lastPercent;
        print "$2, $abs\n";
        $lastPercent = $1;
    }
}

Add script to extract sub-project sizes from CMake
Add script to extract sub-project sizes from CMake

[ ] May break build
[ ] May break existing applications (see CHANGES.txt)
[ ] Bugfix
[x] New Feature
[x] Cleanup
[ ] Optimization
[ ] Documentation
