From 7338d36f37867ccba285f6c7ff2abef54a15b07e Mon Sep 17 00:00:00 2001 From: nojhan Date: Sun, 29 May 2016 17:32:05 +0200 Subject: [PATCH] More colors for cmake building log Hash the subdirs and do not color extension. --- colout/colout_cmake.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/colout/colout_cmake.py b/colout/colout_cmake.py index 68ff06e..24b544f 100644 --- a/colout/colout_cmake.py +++ b/colout/colout_cmake.py @@ -33,12 +33,15 @@ def theme(context): # Link (make) [ "^(Linking .* )(library|executable) (.*/)*(.+(\.[aso]+)*)$", untimed, "normal,normal,bold" ], + # [percent] Creating something + [ "^\[\s*[0-9/]+%?\]\s(.*Creating.*)$", + performing, "normal" ], # [percent] Built [ "^\[\s*[0-9/]+%?\]\s(Built target)(\s.*)$", performed, "normal,bold" ], # [percent] Building - [ "^\[\s*[0-9/]+%?\]\s(Building \w* object)(\s+.*/)([-\w]+.c.*)(.o)$", - performing, "normal,normal,bold,normal"], + [ "^\[\s*[0-9/]+%?\]\s(Building \w* object)\s+(.*)(\.dir)(.*/)([-\w]+).c.*.o$", + performing+","+performing+","+performing+",Hash,"+performing, "normal,normal,normal,normal,bold"], # [percent] Generating [ "^\[\s*[0-9/]+%?\]\s(Generating)(\s+.*)$", performing, "normal,bold"],